Skip to content

Commit 9d48d9a

Browse files
committed
Update README.md
1 parent 9f26a0c commit 9d48d9a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Shell Sort/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ n = floor(5/2) = 2
2222

2323
i = 0 64 23 72 33 4
2424
`` `` ``
25-
64 23 4 33 72
26-
4 23 64 33 72
25+
64 23 4 33 72
26+
4 23 64 33 72
2727

2828
i = 1 4 23 64 33 72
2929
`` ``
@@ -32,8 +32,8 @@ n = floor(2/2) = 1
3232

3333
i = 0 4 23 64 33 72
3434
`` `` `` `` ``
35-
( normal insertionSort operations )
36-
4 23 33 64 72
35+
( normal insertionSort operations )
36+
4 23 33 64 72
3737
3838
Each item in sublist is compared against each other, if the condition is met, the value is swapped and that value travels all the way down and compared against previous items until we reach our start point.
3939

0 commit comments

Comments
 (0)