Question: What is the primary use of a queue in tree traversal?
Options:
Correct Answer: To store nodes for breadth-first search
Solution:
A queue is primarily used in breadth-first search (level order traversal) to keep track of nodes to be visited next.