Djupetförst
Här är en animation som demonstrerar problemträdsgemomgång med djupetförst.
Noden
s
0
är urmoder, och vi söker noden
g
.