Skip to content

Commit fc45a6c

Browse files
authored
Updated README.md to include Heap Sort
Updated README.md to include description of Heap Sort
1 parent 7418ee7 commit fc45a6c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,20 @@ __Properties__
7979

8080
###### View the algorithm in [action][quick-toptal]
8181

82+
83+
### Heap
84+
85+
From [Wikipedia][heap-wiki]: Heapsort is a comparison-based sorting algorithm. It can be thought of as an improved selection sort. It divides its input into a sorted and an unsorted region, and it iteratively shrinks the unsorted region by extracting the largest element and moving that to the sorted region
86+
87+
__Properties__
88+
* Worst case performance O(n log n)
89+
* Best case performance O(n log n)
90+
* Average case performance O(n log n)
91+
92+
93+
94+
###### View the algorithm in [action](https://www.toptal.com/developers/sorting-algorithms/heap-sort)
95+
8296
### Radix
8397

8498
From [Wikipedia][radix-wiki]: In computer science, radix sort is a non-comparative integer sorting algorithm that sorts data with integer keys by grouping keys by the individual digits which share the same significant position and value.

0 commit comments

Comments
 (0)