Examveda

Choose the incorrect statement about DFS and BFS from the following?

A. BFS is equivalent to level order traversal in trees

B. DFS is equivalent to post order traversal in trees

C. DFS and BFS code has the same time complexity

D. BFS is implemented using queue

Answer: Option B


Join The Discussion

Related Questions on Graph Algorithms (DFS, BFS, Dijkstras, etc)