Grokking Algorithms #6: Breadth-First Search
This post covers Chapter 6 of Grokking Algorithms, which introduces the graph data structure and the breadth-first search algorithm. Shortest Path Imagine you’re going on vacation and you need someone to watch your pet gecko while you’re gone. His name is Gordon and he’s very picky about who takes care of him. His preference would be to have one of your friends watch him. But if none of them…













