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?

Answers were Sorted based on User's Feedback



A list is ordered from smaller to largest when a sort is called. Which sort would take the longest ..

Answer / siya

bubble sort

Is This Answer Correct ?    1 Yes 5 No

A list is ordered from smaller to largest when a sort is called. Which sort would take the longest ..

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

More Data Structures Interview Questions

What are different techniques for making hash function?

0 Answers  


What is the difference between set and unordered_set?

0 Answers  


Explain about circular linked list?

0 Answers  


How is a hashset implemented?

0 Answers  


Name few concurrent collection classes?

0 Answers  


Which sorting is best and why?

0 Answers  


How do you clear a stack?

0 Answers  


What is binary tree used for?

0 Answers  


Does list allow null values?

0 Answers  


What is the top of a stack?

0 Answers  


What is stable sort?

0 Answers  


How do you empty an arraylist?

0 Answers  


Categories