About Graphs

Graph problems test your ability to model relationships and traverse connected components. These problems cover BFS, DFS, topological sorting, shortest paths, and cycle detection. Recognizing when a problem is actually a graph problem in disguise is a key interview skill.

Practice 13 interactive coding problems with step-by-step execution visualization.

Graphs

Practice Graphs problems

Problems13 problems