How to use these lessons
Build a route planner using search algorithms and graphs.
Start here if you can write functions and use dictionaries of lists. Trace a search, handle unreachable stops, and compute the fewest rides between two stations. Then compare stacks and queues, explore trees recursively, and solve minimum-cost problems by storing earlier results.
- Trace the worked example, edit the starter program, and check every example.