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 specially suitable for such a task?
Options
- Bubble sort
- Selection sort
- Quick sort
- Insertion sort
CORRECT ANSWER : Insertion sort
Write your comments