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 array sort?

510


What is an iterative algorithm?

538


What are the disadvantages of linked list over array?

463


What is the non linear data structure?

480


What is the application of queue?

483






Define an algorithm. What are the properties of an algorithm? What are the types of algorithms?

529


What is difference between hashmap and hashtable?

459


What is sequential sorting?

517


Write the postfix form of the expression: (a + b) * (c - d)

603


Can arraylist shrink?

488


What is meant by a dynamic array?

503


Can a stack be described as a pointer? Explain.

455


Why do we need arrays if all the operations that are performed on arrays can be performed on arraylist?

446


How does the bubble sort work?

499


What is a data structure definition?

543