Update
This commit is contained in:
parent
f80ca20c00
commit
1e739cc555
19 changed files with 1980 additions and 1936 deletions
|
@ -28,7 +28,7 @@ For starters let's take a look at one of the simplest sorting algorithms, bubble
|
|||
```
|
||||
for j from 0 to N - 2 (inclusive)
|
||||
for i from 0 to to N - 2 - j (inclusive)
|
||||
is array[i] > array[i + 1]
|
||||
if array[i] > array[i + 1]
|
||||
swap array[i] and array[i + 1]
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue