DFS tree¶
DFS Tree is a rooted tree that is built like this
1 2 3 4 5 6 7 |
|
Lemma: There is no cross edges, it means if there is an edge between $V$ and $u$, then $v=par[u]$ or $u=par[v]$
DFS Tree is a rooted tree that is built like this
1 2 3 4 5 6 7 |
|
Lemma: There is no cross edges, it means if there is an edge between $V$ and $u$, then $v=par[u]$ or $u=par[v]$