jeremykun.com
Depth- and Breadth-First Search
The graph is among the most common data structures in computer science, and it’s unsurprising that a staggeringly large amount of time has been dedicated to developing algorithms on graphs. I…