Merge pull request #465 from m-aditya/patch-1

Updated README.md to include Heap Sort
This commit is contained in:
Harshil 2018-10-16 20:18:38 +02:00 committed by GitHub
commit 4cff20bbce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,6 +79,20 @@ __Properties__
###### View the algorithm in [action][quick-toptal]
### Heap
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
__Properties__
* Worst case performance O(n log n)
* Best case performance O(n log n)
* Average case performance O(n log n)
###### View the algorithm in [action](https://www.toptal.com/developers/sorting-algorithms/heap-sort)
### Radix
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.