Skip to content

Commit ea78fb6

Browse files
committed
Fix ShellSort README errors (issue trekhleb#195).
1 parent 788ff22 commit ea78fb6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/algorithms/sorting/shell-sort/README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ After this step, the array should look like this
3737

3838
![Shellsort](https://www.tutorialspoint.com/data_structures_algorithms/images/shell_sort_step_2.jpg)
3939

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+
4042
Finally, we sort the rest of the array using interval of value 1.
4143
Shell sort uses insertion sort to sort the array.
4244

@@ -50,5 +52,6 @@ Shell sort uses insertion sort to sort the array.
5052

5153
## References
5254

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)

0 commit comments

Comments
 (0)