guess the next step: Depth-first search
Before each step plays, guess what it does. The page then shows the step as the run takes it and says why, the same sentence the watch page says there.
Step 1 of 6
Question 1 of 4
Step 1 of 6
Step 2 of 6
Step 3 of 6
Step 4 of 6
Step 5 of 6
Question 1 of 4
Question 1 of 4
Right.
You guessed: The place along this road is new, so go there.
What the run did:
B has not been reached yet, so follow the road from A to it. B is place number 2 to be reached: write 2 there, and put B on top of the stack.
Question 1 of 4
Not this time.
You guessed: The place along this road is reached already, so pass it by.
What the run did:
B has not been reached yet, so follow the road from A to it. B is place number 2 to be reached: write 2 there, and put B on top of the stack.
Question 1 of 4
Not this time.
You guessed: Every road from here has been looked along, so go back.
What the run did:
B has not been reached yet, so follow the road from A to it. B is place number 2 to be reached: write 2 there, and put B on top of the stack.
Question 1 of 4
Not this time.
You guessed: Every road from here has been looked along, and the stack is now empty.
What the run did:
B has not been reached yet, so follow the road from A to it. B is place number 2 to be reached: write 2 there, and put B on top of the stack.
Question 2 of 4
Question 2 of 4
Not this time.
You guessed: The place along this road is new, so go there.
What the run did:
A has been reached already, so pass it by and stay at B.
Question 2 of 4
Right.
You guessed: The place along this road is reached already, so pass it by.
What the run did:
A has been reached already, so pass it by and stay at B.
Question 2 of 4
Not this time.
You guessed: Every road from here has been looked along, so go back.
What the run did:
A has been reached already, so pass it by and stay at B.
Question 2 of 4
Not this time.
You guessed: Every road from here has been looked along, and the stack is now empty.
What the run did:
A has been reached already, so pass it by and stay at B.
Question 3 of 4
Question 3 of 4
Not this time.
You guessed: The place along this road is new, so go there.
What the run did:
Every road from B has been looked along, so take B off the stack and step back to A.
Question 3 of 4
Not this time.
You guessed: The place along this road is reached already, so pass it by.
What the run did:
Every road from B has been looked along, so take B off the stack and step back to A.
Question 3 of 4
Right.
You guessed: Every road from here has been looked along, so go back.
What the run did:
Every road from B has been looked along, so take B off the stack and step back to A.
Question 3 of 4
Not this time.
You guessed: Every road from here has been looked along, and the stack is now empty.
What the run did:
Every road from B has been looked along, so take B off the stack and step back to A.
Question 4 of 4
Question 4 of 4
Not this time.
You guessed: The place along this road is new, so go there.
What the run did:
Every road from A has been looked along, so take A off the stack. The stack is now empty.
That is every question on this run: 0 of 4 right.
Question 4 of 4
Not this time.
You guessed: The place along this road is reached already, so pass it by.
What the run did:
Every road from A has been looked along, so take A off the stack. The stack is now empty.
That is every question on this run: 0 of 4 right.
Question 4 of 4
Not this time.
You guessed: Every road from here has been looked along, so go back.
What the run did:
Every road from A has been looked along, so take A off the stack. The stack is now empty.
That is every question on this run: 0 of 4 right.
Question 4 of 4
Right.
You guessed: Every road from here has been looked along, and the stack is now empty.
What the run did:
Every road from A has been looked along, so take A off the stack. The stack is now empty.
That is every question on this run: 1 of 4 right.