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

What is sorting and its types?

1039


Differentiate among cycle, path, and circuit?

957


Differentiate between an array and an arraylist.

1054


Are linked lists considered linear or non-linear data structure?

1005


What is time complexity of binary search?

883


What do you mean by articulation point?

994


What is the difference between hashset and hashtable?

917


How do you do a mergesort?

892


Which is better hashmap or hashtable?

901


What data type is array?

903


What is bubble sort algorithm in data structure sort and searching?

872


Do sets allow duplicates?

943


Define internal nodes?

913


What is a stable sorting algorithm?

1058


How to show internal storage representation of data structure in RDBM?

974