GeezerVison is showing github.com — Fix indentations in bubble-sort README. · BrandonWeb/javascript-algorithms@6be276f
File tree
Expand file treeCollapse file tree
Open diff view settings
src/algorithms/sorting/bubble-sort
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/algorithms/sorting/bubble-sort/README.md +4-3Lines changed: 4 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
3 | 3 | Bubble sort, sometimes referred to as sinking sort, is a |
4 | 4 | simple sorting algorithm that repeatedly steps through |
5 | 5 | 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. |
9 | 10 |
|
10 | 11 |  |
11 | 12 |
|
|