01Chapter 1: Representing a Graph as an Adjacency ListThis chapter assumes you know basic Python (lists, loops, functions), how stacks and queues work, basic graph terms (vertex, edge, undirected), and Big-O notation.2 min read
02Chapter 2: Why Traversal Runs in O(V + E)This chapter assumes you can read Python classes, know Big-O notation, and have seen BFS and DFS labeling build an adjacency list and visit each component.2 min read
03Chapter 3: Tracking Components as Edges ArriveThis chapter assumes you already know the union-find class from the previous chapter, iterative DFS, and the difference between directed and undirected edges.2 min read