Click an option to check whether your answer is correct.
Answer: b) O(log n)
Explanation: The time complexity of inserting an element into a binary heap of n elements is O(log n).
Explore more questions from similar topics.
Share this MCQ with your friends or study group.