DFS AND BFS OF TREE

Question:

Find DFS and BFS of the given graph.
ANSWER
DFS:       A, B, C, E, G, F, H, I, D

BFS:       A, B, C, D, E, F, H, I, G

Comments

Popular Posts