Topic 10 / 16
Graphs (DFS / BFS)
HardNon-Linear~7 days
Challenging
progress0 / 15 solved
Model relationships. DFS for exploration; BFS for shortest unweighted paths.
โ ๏ธ
Why this topic is hard
Graphs are hard because there's no standard structure like a tree โ a graph can have cycles, disconnected components, and multiple valid representations (adjacency list vs matrix). The hardest part is recognizing WHICH graph algorithm applies: cycle detection? Topological sort? Shortest path? Each requires a different approach.
Prerequisites
Unlocks
Progress is saved on this device