1.

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» C. DFS and BFS code has the same time complexity


Discussion

No Comment Found