Consider the following list of the integer:
19, 23, 40, 32, 91, 25, 100, 36
Sort this list in increasing order using insertion sort and determine the number of passes, comparisons, and swaps ?
A
|
7, 14, 8 respectively. |
B
|
7, 7, 14 respectively. |
C
|
8, 7, 12 respectively. |
D
|
8, 14, 7 respectively. |