Insertion sort - Example - Data Structure

Q.  You have to sort a list L consisting of a sorted list, followed by a few “ random ” elements. Which of the following sorting methods would be especially suitable for such a task?
- Published on 26 Aug 15

a. Bubble sort
b. Selection sort
c. Quick sort
d. Insertion sort

ANSWER: Insertion sort

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)