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
• Heapify
What does the 'heapify' operation do to a subtree rooted at a given node?
A
Sorts the entire array
B
Adjusts the subtree so that it satisfies the heap property, assuming its children are already valid heaps
C
Deletes the subtree
D
Converts the subtree into a BST