Code
The highlighted line runs next. The pill shows the live values in the running call.
Recursion tree
not called yet
running now
paused, waiting on a child
returned True
done earlier, reused
returned False / cycle
Call stack
Graph
state
needs
0 · unvisited
1 · on the current path
2 · done (finishable)
cycle