Tree Traversal
1. Let us consider to be the total number of vertices and to be the total number of edges in a tree. What is the time complexity of Breadth First Traversal in this tree?
2. What is the most appropriate data structure for Breadth First Traversal of a tree?
3. In Breadth First Traversal of a binary tree, when a node is removed from the queue, what is typically done next?
4. Breadth First Traversal of a tree is also commonly called which of the following?
5. Which property of a queue makes it suitable for Breadth First Traversal?
6. Consider a binary tree whose root is , with children and . If has children and , and has children and , what is the Breadth First Traversal?
7. What is the maximum number of nodes stored in the queue at a particular point during Breadth First Traversal?
8. If a tree has vertices and edges, how many times is each vertex typically processed during a standard Breadth First Traversal?
9. Suppose the root of a binary tree is at level . Which nodes are processed before nodes at level during Breadth First Traversal?