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

Answer Posted / tarun

bubble sort in the best case

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if we put a key object in a hashmap which exists?

487


What does a bubble chart show?

463


How do you sort an arraylist?

491


Which sort is best for linked list?

505


How many links are there in a binary tree of N nodes?

603






What is a subtree?

532


What is the non linear data structure?

484


How do I sort a hashmap key?

504


Explain the implementation of an AVL tree and Binary tree.

519


Which is the parent class of deque class?

505


What is difference between capacity and size of arraylist?

489


What does each entry in the link list called?

500


Is sorting a math skill?

494


Give the example of validating the parenthesis of expression using stack.

599


Differentiate between iterable and iterator.

675