You are viewing a single comment's thread. Return to all comments →
Hi, I had the same issue and I figured it out. Your output should be: 2 3 4 5 6 7 8 9 10 10 2 3 4 5 6 7 8 9 9 10 2 3 4 5 6 7 8 8 9 10 2 3 4 5 6 7 7 8 9 10 2 3 4 5 6 6 7 8 9 10 2 3 4 5 5 6 7 8 9 10 2 3 4 4 5 6 7 8 9 10 2 3 3 4 5 6 7 8 9 10 2 2 3 4 5 6 7 8 9 10 # You are missing that line 1 2 3 4 5 6 7 8 9 10
Hope it helps !
Seems like cookies are disabled on this browser, please enable them to open this website
Insertion Sort - Part 1
You are viewing a single comment's thread. Return to all comments →
Hi, I had the same issue and I figured it out. Your output should be:
2 3 4 5 6 7 8 9 10 10
2 3 4 5 6 7 8 9 9 10
2 3 4 5 6 7 8 8 9 10
2 3 4 5 6 7 7 8 9 10
2 3 4 5 6 6 7 8 9 10
2 3 4 5 5 6 7 8 9 10
2 3 4 4 5 6 7 8 9 10
2 3 3 4 5 6 7 8 9 10
2 2 3 4 5 6 7 8 9 10 # You are missing that line
1 2 3 4 5 6 7 8 9 10
Hope it helps !