Skip to content

Commit 6be276f

Browse files
committedDec 9, 2018
Fix indentations in bubble-sort README.
1 parent d91edc9 commit 6be276f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎src/algorithms/sorting/bubble-sort/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
Bubble sort, sometimes referred to as sinking sort, is a
44
simple sorting algorithm that repeatedly steps through
55
the list to be sorted, compares each pair of adjacent
6-
items and swaps them if they are in the wrong order(ascending or descending arrangement).
7-
The pass through the list is repeated until no swaps
8-
are needed, which indicates that the list is sorted.
6+
items and swaps them if they are in the wrong order
7+
(ascending or descending arrangement). The pass through
8+
the list is repeated until no swaps are needed, which
9+
indicates that the list is sorted.
910

1011
![Algorithm Visualization](https://upload.wikimedia.org/wikipedia/commons/c/c8/Bubble-sort-example-300px.gif)
1112

0 commit comments

Comments
 (0)
Please sign in to comment.