Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitea78fb6

Browse files
committed
Fix ShellSort README errors (issuetrekhleb#195).
1 parent788ff22 commitea78fb6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp