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

How to print element of Array?

1005


What do you mean by union-by-weight?

957


Briefly explain recursive algorithm 50 how do you search for a target key in a linked list?

913


What type of memory allocation is referred for Linked lists?

1148


What do you mean by balance factor of a node in avl tree?

884


Write code for reversing a linked list.

917


How many types of data structure are there?

847


Is file a data structure?

923


Explain the steps to insert data into a singly linked list?

839


What are priority queues?

925


Define heap?

1021


Why is null not allowed in concurrenthashmap?

865


Write a program to sum values of given array.

987


Can we add or delete an element after assigning an array?

1012


How is bubble sort done?

818