Graphs

Unit 12 of 15

Advanced

Graphs

Model anything with connections (maps, grids, dependencies, networks) as a graph, then explore it with DFS and BFS, order it with topological sort, group it with union–find and find cheapest routes with Dijkstra.

0 of 3 lessons complete, 0 of 8 problems solved

Coursework

41 min

Practice ladder

Start with the first problem, then work toward the harder variations. Run examples before submitting against all tests.

Next unit: Dynamic Programming