OverviewHeap Algorithms are a special kind of Modifying Algorithm because they also change the order of the elements. But, modifying is more complicated and it usually takes more time than simple mutating operations.
Adds an element to a heap
Removes an element from a heap
Converts a range into a heap
Sorts the heap (it is no longer a heap after the call)
Checks if a range is a heap or not