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 / rahul

Bubble Sort cannot be the answer, Because the MODIFIED BUBBLE SORT takes complexity of O(n) when the elements are arranged in a particular order..

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is hashmap faster than treemap?

853


How do you find the length of an arraylist?

855


Which sorting is best?

835


Can you provide some implementation of a dictionary having large number of words?

1044


Why is null not allowed in concurrenthashmap?

849


How do I start preparing for placement?

994


What is the use of isEmpty() member methods?

933


Define degree of the node?

944


If we add enum constants to a sorted collection ( treemap , treeset ), what will be the order in which they will be maintained?

913


Define secondary clustering?

862


How do you declare An array of three char pointers

927


Is an arraylist an object?

905


Does hashmap maintain insertion order?

872


How can a binary tree be represented using the rotation?

869


Which is the fastest sorting?

937