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 / vinoth kumar.r

Quick sort's worst case is the one given in the question.
It exhibits selection sort type of procedure when the list
is sorted

Hence both :)

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the implementation of an AVL tree and Binary tree.

956


Why hashtable is faster than arraylist?

950


What is a 2 dimensional array?

1001


Is quicksort faster than merge sort?

895


How many types of data structures are used?

991


Can we add duplicate keys in a hashmap? What will happen if we attempt to add duplicate values?

847


List out the applications of a linked list?

887


How is bubble sort done?

855


How to sequentially represent max-heap?

933


Can you have an arraylist of arrays?

956


Explain how is linked list implemented?

948


What are linked lists used for?

973


Is hashmap keyset ordered?

1011


How does variable declaration affect memory allocation?

1766


What is collection sort?

890