Skip to main content
Loading page content
Explore
Learnings
Mental Math
Dashboard
More
Algo
Flow
Visualizers
Learnings
Quizzes
Mental Math
Dashboard
Log in
Sign up
Loading quiz challenge
Back to Visualizer
Question 1 of 5
Heap Operations
• Extract Max
In a max-heap, what does the 'Extract Max' operation do?
A
Removes and returns the smallest element
B
Removes and returns the largest element (the root), then restores the heap property
C
Adds a new maximum element
D
Deletes the entire heap