Question: What is the space complexity of a binary heap?
Options:
Correct Answer: O(n)
Solution:
The space complexity of a binary heap is O(n) because it stores n elements in an array.