Take a look at the two graph search functions you implemented in Python:
- depth-first search, using recursion
- breadth-first search, using a queue
Before running the code in the code editor, consider: what solution do you expect each function to come up with?
Sign up to start coding