Update README.md

This commit is contained in:
John Washam 2020-07-04 17:27:26 -07:00 committed by GitHub
parent 2055db3908
commit 3efab1f54c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -730,8 +730,7 @@ Write code on a whiteboard or paper, not a computer. Test with some sample input
- [ ] sift_down - needed for extract_max - [ ] sift_down - needed for extract_max
- [ ] remove(i) - removes item at index x - [ ] remove(i) - removes item at index x
- [ ] heapify - create a heap from an array of elements, needed for heap_sort - [ ] heapify - create a heap from an array of elements, needed for heap_sort
- [ ] heap_sort() - take an unsorted array and turn it into a sorted array in-place using a max heap - [ ] heap_sort() - take an unsorted array and turn it into a sorted array in-place using a max heap or min heap
- note: using a min heap instead would save operations, but double the space needed (cannot do in-place).
## Sorting ## Sorting