← BackMark CompleteHeap TheoryInsertion bubble-up; removal bubble-down maintaining property.heaptheoryUpdated 2025-09-01ComplexityInsert O(log n)Extract O(log n)BuildHeapify O(n)