mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-26 15:11:16 +08:00
update on readme (#235)
I make sure readers get the full understanding of the documentation
This commit is contained in:
parent
2382225e03
commit
d91edc9a39
@ -3,7 +3,7 @@
|
|||||||
Bubble sort, sometimes referred to as sinking sort, is a
|
Bubble sort, sometimes referred to as sinking sort, is a
|
||||||
simple sorting algorithm that repeatedly steps through
|
simple sorting algorithm that repeatedly steps through
|
||||||
the list to be sorted, compares each pair of adjacent
|
the list to be sorted, compares each pair of adjacent
|
||||||
items and swaps them if they are in the wrong order.
|
items and swaps them if they are in the wrong order(ascending or descending arrangement).
|
||||||
The pass through the list is repeated until no swaps
|
The pass through the list is repeated until no swaps
|
||||||
are needed, which indicates that the list is sorted.
|
are needed, which indicates that the list is sorted.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user