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

Answer Posted / varma

insertion sort works efficiently on sorted lists.....

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the hash table and hash map?

520


Explain about set and their types in a collection?

482


Which is the slowest sorting algorithm?

509


where do you use double linked list?

583


Can you declare an array without assigning the size of an array?

523






Does mentioning the array name gives the base address in all the contexts?

782


There is a program which inserts and deletes node in a sorted singly linked list. There is a bug in one of the modules, how would you debug it?

1317


What is linear and non linear structure?

495


Explain how is linked list implemented?

529


Explain Queue

653


What happens if we put duplicate key in hashmap?

500


What is bubble sort in data structure?

505


Does set allow null values?

466


What exactly is a thread?

474


Which is faster hashmap or linkedhashmap?

532