This commit is contained in:
Miloslav Ciz 2025-02-26 18:17:24 +01:00
parent f80ca20c00
commit 1e739cc555
19 changed files with 1980 additions and 1936 deletions

View file

@ -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]
```