Insertion Sort

Directions:

1. Watch videos here on the different sorts
2. Fill in the empty blocks from strating from left to right

Step 1

a.Start with the most left box(highlighted in red). Check if the number in the blue box is smaller than the one in the red box.
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down

6
4
2
5
3
1
7

Step 2:

Step 2b:

Step 3:

Step 3b:

Step 3c:

Step 4:

Step 4b:

Step 4c:

Step 5:

Step 5b:

Step 5c:

Step 5d:

Step 5e:

Selection Sort Insertion Sort Quick Sort Merge Sort Practice Selection Sort Practice Insertion Sort Practice Quick Sort Practice Merge Sort