01Chapter 1: Modeling Dependencies as Directed GraphsThis chapter assumes you know basic Python syntax and graph terms such as vertex, edge, and directed edge. It also assumes you can read an adjacency list, which is a dictionary that maps each node to the nodes it points to.2 min read
02Chapter 2: Kahn's AlgorithmThis chapter assumes you can read Python, represent a graph as an adjacency list, and follow breadth-first and depth-first search. In the code, an edge u -> v means u must come before v.2 min read
03Chapter 3: When the Order Is Not UniqueThis chapter assumes you already know Kahn's algorithm, in-degree counts, and the BFS and DFS traversals.2 min read