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

Name few classes that implement collection interface?

926


What is complexity of quicksort?

1049


Define a stack?

1074


Differentiate bfs and dfs?

1010


What do you mean by primary clustering?

1010


What is data type in data structure?

1057


Is heap sort adaptive?

845


What is the time complexity of arraylist and linked list?

922


Does hashmap allow null keys?

875


What is the use of isEmpty() member methods?

981


Describe tree database.

898


Why is data structure needed?

971


Can nsarray contain nil?

832


How will you check the validity of an expression containing nested parentheses?

938


Can we insert null in set?

889