Question: In a priority queue implemented with a binary heap, what happens when the maximum element is removed?
Options:
Correct Answer: Both A and C
Solution:
When the maximum element is removed, the last element is placed at the root, and then the heap is restructured to maintain the heap property.