Be sure to indicate the value of i and min after each iteration.S E L E C T
2.
Show, in the style of the trace of Algorithm 3.2 (p. 209),
the result of using insertion sort to sort the keys:
I N S E R T
Be sure to indicate the value of i and j after each iteration.
3.
Show, in the style of the trace of Algorithm 3.3 (p. 217),
the result of using shellsort to sort the keys:
Be sure to give the value of h used in each step.E A S Y T O S H E L L S O R T