Practice School Beta

LeetCode Q&A: Graphs

Graph traversal and shortest path

Easy
15 problems
Medium
25 problems
Hard
8 problems

Common Graphs Patterns

Traversal
  • BFS — shortest path
  • DFS — connected components
  • Topological sort
  • Cycle detection
Advanced
  • Dijkstra's algorithm
  • Union-Find
  • Bellman-Ford
  • Floyd-Warshall

Coming Soon

Detailed solutions with multiple approaches, time/space complexity analysis, and video explanations.