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

Which is faster hashmap or hashset?

0 Answers  


You are given a singly linked list. How would you find out if it contains a loop or not without using temporary space?

0 Answers   TCS,


Can arraylist be resized?

0 Answers  


Can arraylist store primitives?

0 Answers  


What is the space complexity of quicksort?

0 Answers  


How does quick sort work?

0 Answers  


What do you mean by tree edge?

0 Answers  


What is stack algorithm?

0 Answers  


What is range search?

0 Answers  


What is binary search in programming?

0 Answers  


Why entry interface is used in map?

0 Answers  


Two linked lists are given, find out the sum of them without altering the linked list?

0 Answers   Expedia,


Categories