Perform and Visualize Breadth First Traversal
Which data structure is used to implement BFS?
Consider the graph:
1 -- 2 -- 4
| |
3 -- 5
If BFS starts at node 1, what is the order of traversal?
BFS can be used to determine:
In BFS, which of the following statements is true?
Consider the following weighted graph (all edges have weight 1) and start BFS at node A:
A -- B -- D
|
C -- E
What is the BFS traversal order?
Which of the following BFS applications is incorrect?