Tree Traversal

1. Let us consider VV to be the total number of vertices and EE to be the total number of edges in a tree. What is the time complexity of Breadth First Traversal in this tree?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

2. What is the most appropriate data structure for Breadth First Traversal of a tree?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

3. In Breadth First Traversal of a binary tree, when a node is removed from the queue, what is typically done next?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

4. Breadth First Traversal of a tree is also commonly called which of the following?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

5. Which property of a queue makes it suitable for Breadth First Traversal?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

6. Consider a binary tree whose root is AA, with children BB and CC. If BB has children DD and EE, and CC has children FF and GG, what is the Breadth First Traversal?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

7. What is the maximum number of nodes stored in the queue at a particular point during Breadth First Traversal?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

8. If a tree has VV vertices and EE edges, how many times is each vertex typically processed during a standard Breadth First Traversal?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

9. Suppose the root of a binary tree is at level 00. Which nodes are processed before nodes at level 22 during Breadth First Traversal?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation