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 / bharath

on avg qsort is O(n) and worst is n^2;
msort is O(nlogn) for all
hsort is same as msort

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define a binary search tree?

904


What are the applications of priority queues?

953


Can treeset contain null?

830


Should I use hashmap or hashtable?

846


How would you use bsearch() function to search a name stored in array of pointers to string?

803


What are the difference between a stack and a queue?

909


Can arraylist store objects?

874


What is queue in data structure?

907


What is data structure what is need of it?

839


Why do we use sorting?

802


What is array and string?

894


If you are using c language to implement the heterogeneous linked list, explain what pointer type will you use?

951


Can arraylist be resized?

942


What is the main advantage of a linked list?

924


Program to remove duplicate elements in an array.

962