Up Next
Go up to Question 2
Go forward to Solution to Question 2, part 2

Solution to Question 2, part 1

Depth-first search:

Up Next