3 problems using this pattern
Depth-first search for exploring all paths in trees and graphs recursively.
O(n)
(2 problems)
O(V + E)
(1 problem)
O(h)
(2 problems)
O(V)
(1 problem)