Update README.md
delete duplicate description about shell sort
This commit is contained in:
parent
1d531d1ca5
commit
68e704d392
@ -119,14 +119,6 @@ __Properties__
|
|||||||
* Average case performance O(log n)
|
* Average case performance O(log n)
|
||||||
* Worst case space complexity O(1)
|
* Worst case space complexity O(1)
|
||||||
|
|
||||||
From [Wikipedia][shell-wiki]: Shellsort is a generalization of insertion sort that allows the exchange of items that are far apart. The idea is to arrange the list of elements so that, starting anywhere, considering every nth element gives a sorted list. Such a list is said to be h-sorted. Equivalently, it can be thought of as h interleaved lists, each individually sorted.
|
|
||||||
|
|
||||||
__Properties__
|
|
||||||
* Worst case performance O(nlog2 2n)
|
|
||||||
* Best case performance O(n log n)
|
|
||||||
* Average case performance depends on gap sequence
|
|
||||||
|
|
||||||
|
|
||||||
[bubble-toptal]: https://www.toptal.com/developers/sorting-algorithms/bubble-sort
|
[bubble-toptal]: https://www.toptal.com/developers/sorting-algorithms/bubble-sort
|
||||||
[bubble-wiki]: https://en.wikipedia.org/wiki/Bubble_sort
|
[bubble-wiki]: https://en.wikipedia.org/wiki/Bubble_sort
|
||||||
[bubble-image]: https://upload.wikimedia.org/wikipedia/commons/thumb/8/83/Bubblesort-edited-color.svg/220px-Bubblesort-edited-color.svg.png "Bubble Sort"
|
[bubble-image]: https://upload.wikimedia.org/wikipedia/commons/thumb/8/83/Bubblesort-edited-color.svg/220px-Bubblesort-edited-color.svg.png "Bubble Sort"
|
||||||
|
Loading…
Reference in New Issue
Block a user