I\'m trying to do a Depth-First search in Python but it\'s not working.
Basically we have a peg-solitaire board:
[1,1,1,1,1,0,1,1,1,1]
It doesn't appear that you're creating new nodes, just re-using existing ones. DFS requires some kind of stack (either the call stack, or your own stack). Where is that?