Loading topic
adj[u] lists the vertices that u points to. You should know the undirected parent-tracking method from the earlier chapter and the tree, back, forward, and cross edge types 6 min readnext() built-in. The goal here is to get the same results without recu5 min readcollections.deque and defaultdict. The chapter takes those algorithms into real6 min read