List the two important key points of depth first search.

  1. If path exists from one node to another node, walk across the edge – exploring the edge.
  2. If path does not exist from one specific node to any other node, return to the previous node where we have been before –backtracking.
0
Sanisha Maharjan
Jan 23, 2022
More related questions

Questions Bank

View all Questions