Data Structures and Algorithms - Old Questions
12. Hand test the insertion sort algorithm with following array of numbers.
16 7 31 2 9 41 -10
5 marks
|
Asked in 2071
Given array:
16 7 31 2 9 41 -10
Tracing using insertion sort:
Which is the sorted array.