Question: What is the space complexity of a recursive implementation of binary tree traversal?
Options:
Correct Answer: O(n)
Solution:
The space complexity is O(n) due to the recursion stack in the worst case, where n is the number of nodes in the tree.