Data structures · Graphs

Graphs in code

A road map becomes a few lines of Python, and the way you store it decides how much memory it takes.