Опубликовано: 07 Август 2026 на канале: Harshit jain
1,242
13
Extract-Min OR Extract-Max Operation:
Take out the element from the root.
Take out the last element from the last level from the heap and replace the root with the element.
Perform max or min heapify operation.