Skip to content

Glossary: Data Structures and Algorithms in C++

Heapify

Also written: std::make_heap, make_heap

Rearranging a vector into a heap in place in O(n) steps. In C++ that's std::make_heap, with std::push_heap and std::pop_heap to add and remove.

Where the book teaches it

Related terms

Heap