A max-heap is a heap where the value of each parent is greater than or equal to the value of its children. Which of the following is a max-heap?
Reveal answer
Fill a bubble to check yourself
A max-heap is a heap where the value of each parent is greater than or equal to the value of its children. Which of the following is a max-heap?