A list is ordered from smaller to largest when a sort is
called. Which sort would take the shortest time to execute?

Answer Posted / dwiti

Selection Sort

Is This Answer Correct ?    0 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is faster treemap or hashmap?

571


How to fill element (initialize at once) in an array?

629


What the principle of quick sort and its complexity?

633


Name two algorithms two find minimum spanning tree?

613


Which interface provides the capability to store objects using a key-value pair?

688






Name some applications which use linked lists.

629


What is the capacity of arraylist?

555


How does threaded binary tree represented in data structure?

660


Why do we need sorting?

549


Is hashmap faster than arraylist?

536


If I try to add enum constants to a treeset, what sorting order will it use?

803


What does isempty() member method determines?

628


How do you use the sort function?

547


What is difference between list set and map?

559


What are the disadvantages of linked list over array?

552