1.

Differentiate between the DFS and BFS graph traversal techniques

Answer»

The MAJOR DIFFERENCE between BFSand DFS is that BFS proceeds level by level while DFS follows first a PATH form the starting to the ending node (vertex), then another path from the START to end, and so on until all NODES are visited



Discussion

No Comment Found