Multiple ChoiceIntermediate 30s
Heapify operation
Building a heap from an array takes:
Options
- 1O(n log n) always
- 2O(n) using bottom-up
- 3O(1)
- 4O(n²)
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.