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

Is red black tree balanced?

898


What is precision in data structures?

1107


Define threaded binary tree.

1034


Differentiate between singly and doubly linked lists?

988


What is the difference between hashset and hashtable?

939


Is arraylist better than array?

950


How dynamic arrays are created?

900


Explain Array

972


List the data structures which are used in network data modal.

885


What member function places a new node at the end of the linked list?

1065


Define path in a graph?

930


Is binary tree balanced?

842


What are binary trees?

1585


Write an algorithm to check if there is a loop in a doubly linked list.

950


What is the complexity of selection sort?

839