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

State the demerits of linked representation of binary trees?

968


What actions are performed when a function returns?

978


How do arrays work?

995


How arraylist increase its size?

945


Is array a data type?

907


State the rules to be followed during infix to prefix conversions?

1092


How can you correct these errors?

1054


Tell me is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

974


Is unordered_map a hash table?

911


how to add an item to the beginning of the list?

1017


How are the elements of a 2d array are stored in the memory?

1068


Explain what is the data structures used to perform recursion?

994


How do we search a specific element in an array?

974


What are the different types of data structures explain briefly?

1146


What are the applications of linked list?

925