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

Differentiate between list and set.

825


What are the best data structure courses for gate preparation?

670


Can a class have a constructor?

688


What is frozenset?

679


What is heap tree explain with example?

678


What is the Insertion Sort Code?.

815


What is breadth first tree?

771


Define distributed query and linked server?

691


Why is quicksort faster than merge sort?

711


Why do we need algorithm?

641


What is list and its types?

648


What is the difference between dictionary and hashtable?

697


What are the disadvantages of representing a stack or queue by a linked list?

684


What sort of serious problems have you experienced, and how have you handled them?

760


Can we define the size of arraylist?

658