Question: What is the time complexity of traversing a binary tree with n nodes?
Options:
Correct Answer: O(n)
Solution:
Traversing a binary tree requires visiting each node once, leading to a time complexity of O(n).