Back to DashboardUpgrade
Pro pattern
Upgrade to Pro to access this pattern and all 22 patterns.
PATTERN
Graphs (BFS/DFS)
Traverse and search graphs using BFS and DFS. Master grid traversal, connected component counting, multi-source BFS, graph cloning, and shortest-path finding on implicit graphs.
Learn Graphs (BFS/DFS)Explanation, templates & reference
Max Area of Island
easy
Number of Islands
medium
Clone Graph
medium
Rotting Oranges
medium
Pacific Atlantic Water Flow
medium
Word Ladder
hard