mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-07-07 01:44:52 +08:00
Fix ShellSort README errors (issue #195).
This commit is contained in:
@ -37,6 +37,8 @@ After this step, the array should look like this
|
||||
|
||||

|
||||
|
||||
> UPD: On the picture below there is a typo and result array is supposed to be `[14, 10, 27, 19, 35, 33, 42, 44]`.
|
||||
|
||||
Finally, we sort the rest of the array using interval of value 1.
|
||||
Shell sort uses insertion sort to sort the array.
|
||||
|
||||
@ -50,5 +52,6 @@ Shell sort uses insertion sort to sort the array.
|
||||
|
||||
## References
|
||||
|
||||
* [Tutorials Point](https://www.tutorialspoint.com/data_structures_algorithms/shell_sort_algorithm.htm)
|
||||
* [Wikipedia](https://en.wikipedia.org/wiki/Shellsort)
|
||||
- [Tutorials Point](https://www.tutorialspoint.com/data_structures_algorithms/shell_sort_algorithm.htm)
|
||||
- [Wikipedia](https://en.wikipedia.org/wiki/Shellsort)
|
||||
- [YouTube by Rob Edwards](https://www.youtube.com/watch?v=ddeLSDsYVp8&index=79&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8)
|
||||
|
Reference in New Issue
Block a user