GeezerVison is showing github.com — Fix ShellSort README errors (issue #195). · BrandonWeb/javascript-algorithms@ea78fb6
File tree
Expand file treeCollapse file tree
Open diff view settings
src/algorithms/sorting/shell-sort
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/algorithms/sorting/shell-sort/README.md +5-2Lines changed: 5 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -37,6 +37,8 @@ After this step, the array should look like this |
37 | 37 |
|
38 | 38 |  |
39 | 39 |
|
| 40 | +> UPD: On the picture below there is a typo and result array is supposed to be `[14, 10, 27, 19, 35, 33, 42, 44]`. |
| 41 | +
|
40 | 42 | Finally, we sort the rest of the array using interval of value 1. |
41 | 43 | Shell sort uses insertion sort to sort the array. |
42 | 44 |
|
@@ -50,5 +52,6 @@ Shell sort uses insertion sort to sort the array. |
50 | 52 |
|
51 | 53 | ## References |
52 | 54 |
|
53 | | -* [Tutorials Point](https://www.tutorialspoint.com/data_structures_algorithms/shell_sort_algorithm.htm) |
54 | | -* [Wikipedia](https://en.wikipedia.org/wiki/Shellsort) |
| 55 | +- [Tutorials Point](https://www.tutorialspoint.com/data_structures_algorithms/shell_sort_algorithm.htm) |
| 56 | +- [Wikipedia](https://en.wikipedia.org/wiki/Shellsort) |
| 57 | +- [YouTube by Rob Edwards](https://www.youtube.com/watch?v=ddeLSDsYVp8&index=79&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8) |