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

How to reverse a linked list iterative algorithm?

915


Explain the internal working of a hash map?

946


How to inverting a function in sort and searching?

966


What is time complexity of quick sort?

840


Which collection is fail safe?

856


What is data and its type?

998


How can we remove loops in a linked list? What are the functions of fast and slow pointers?

1143


Explain linked list in short.

889


What is the meaning of arraylist?

923


What is an ordered list?

975


What is sort function?

870


What is a undirected graph?

957


What is sorting with example?

882


What are the different types of data type?

926


How efficient is bubble sort?

873