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

The Time Complexity of Bubble sort,insertion sort and
selection sort is same i.e. O(n^2). So all sorting
algorithms will take same time to sort the elements.
Please correct me if im wrong..

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define balancing condition for AVL Tree.

1023


Where is insertion sort used?

899


What is the best complexity of bubble sort?

906


What is the use of hashtable?

874


What is stack explain with diagram?

896


Are duplicates allowed in list?

907


Is bucket sort a comparison sort?

821


How much time does it take to learn data structures?

915


What are hash tables good for?

909


What are the different types of data structures explain briefly?

1050


How does hashset maintain order?

947


Why is hashmap faster than treemap?

898


What is difference between hashtable and hashmap?

1021


How do I remove a value from a list?

847


How can you implement a stack?

1060