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

Does treeset allow duplicates?

825


What is huffman’s algorithm?

1028


What is hashing in cyber security?

847


Why is quicksort not stable?

903


What is bubble sort?

837


How do you sort in ascending order in arraylist?

825


Which is better arraylist or linkedlist?

838


Is arraylist heterogeneous?

837


Which is the parent class of abstractsequentiallist class?

855


What is fibonacci search?

954


Why is hashmap not thread safe?

867


What are the Difference between tcp and udp?

914


Does mentioning the array name gives the base address in all the contexts?

1304


What is pointer in data structure?

814


What is the minimization factor and time complexity of b-tree?

1066