Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Which sort show the best average behavior?

Answer Posted / srinvias

Merge sort. In all the cases the complexity is nlogn
For Quick sort complexity is o(n^2), nlogn in worst and best
cases respectively.

Is This Answer Correct ?    14 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In what order the elements of a hashset are retrieved?

1020


What is data structure and its classification?

969


Write a recursive c function to calculate the height of a binary tree.

954


How do you reference all the elements in a one-dimension array?

1093


Where is binary tree used?

967


What is difference between list and array list?

890


Who created quicksort?

1024


Define forest?

1034


Differentiate between list and set.

1115


What are the advantages of stack?

904


Which sort is stable?

1001


What is the structure of an array?

961


What is the procedure to insert into a sorted array?

1043


List the limitations of linear probing?

972


Which is faster list or set?

959