Back to Graphs

Graphs practice problems

A focused problem list tied to the real-world applications on this topic. Open any problem directly on its platform.

4 problems List view Mobile optimized

Why this page exists

The main topic page explains where the idea is used in production. This child page is only for practice.

Graphs practice

4 items
1

Number of Provinces

Connected-component reasoning on an adjacency representation.

LeetCode
2

Course Schedule

Dependency analysis with cycle detection in directed graphs.

LeetCode
3

Word Ladder

Shortest-path style traversal over an implicit graph.

LeetCode
4

Minimum Spanning Tree

Greedy graph optimization with union-find or Prim style solutions.

GeeksforGeeks