Question: What is the time complexity of removing the highest priority element from a priority queue implemented with a binary heap?
Options:
Correct Answer: O(log n)
Solution:
Removing the highest priority element from a binary heap takes O(log n) time due to the need to maintain the heap property after removal.