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...

A list is ordered from smaller to largest when a sort is
called. Which sort would take the longest time to execute?

Answer Posted / zeeshan

quick sort is the answer.....quick sort shows worst case
behaviour when the list is already sorted....

courtesy"" shaum series- data structures""

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which type of memory allocation is referred for linked list?

1139


What is a height of a tree?

829


Two linked lists are given, find out the sum of them without altering the linked list?

914


Differentiate between failfast and failsafe.

1111


When new data are to be inserted into a data structure?

863


Define threaded binary tree.

959


What do you mean by quadratic probing?

884


Can a class have a constructor?

871


What is stack and its operations?

795


What will you prefer for traversing through a list of elements between singly and doubly linked lists?

876


What are the difference between malloc() and calloc()?

931


Define heap order property?

944


What is data algorithm?

936


Is radix sort stable?

854


What is data structure geeksforgeeks?

1190