01Chapter 1: Representing Graphs with Adjacency ListsThis chapter assumes you know basic graph terms (vertex, edge, path, cycle), Big-O notation, and how to read Python. Breadth-first search (BFS) comes up in later chapters.2 min read
02Chapter 2: Testing Bipartiteness with BFSThis chapter assumes you know adjacency lists, breadth-first search (BFS), and Big-O notation. It also assumes you accept the earlier result that a graph is bipartite exactly when it has no odd cycle.2 min read
03Chapter 3: A DFS AlternativeThis chapter assumes you already know the BFS two-colouring from the previous chapter, union-find basics, and Big-O notation.2 min read