Tree DFS
There are three ways to traverse (depends on where you want to put your rootNode)
[!important]
For iteratively, when wevisit, wepopthe note out
There are three ways to traverse (depends on where you want to put your rootNode)
[!important]
For iteratively, when wevisit, wepopthe note out