All challenges
Multiple ChoiceIntermediate 30s

Max-Heap vs Min-Heap

In a max-heap:
Options
  1. 1Every one of the leaf nodes holds an equally small value
  2. 2Every parent node is greater than or equal to its children
  3. 3The root of the entire tree is the smallest element present
  4. 4Every parent node is strictly smaller than its two child nodes

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle