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

What is the idea behind splaying?

1728


What is the heap in data structures?

937


State the demerit of linear representation of binary trees?

885


Differentiate between iterable and iterator.

1028


Give a real time example of stack

908


What is inplace sorting?

1015


Which interfaces are implemented by enumset?

837


What are different types of sorting algorithms?

914


What are priority queues?

906


Is collection a class or interface?

849


What is data and data types?

863


How to reference all the elements in a one-dimension array?

1230


How remove all from arraylist?

881


What is structure of data type?

844


In Data Structure, write output of given program.

862