Graph Problems

Master graph problems with AI-powered solutions. Get instant coding assistance during your technical interviews for all 110 problems in this category.

Total Problems: 110
Easy: 3
Medium: 52
Hard: 55
Showing 50 of 110 problems

Problems

Scroll within this area to browse all problems

#
Title
Difficulty
207

Course Schedule

Medium
803

Cheapest Flights Within K Stops

Medium
210

Course Schedule II

Medium
801

Is Graph Bipartite?

Medium
133

Clone Graph

Medium
329

Longest Increasing Path in a Matrix

Hard
3613

Maximize Amount After Two Days of Conversions

Medium
399

Evaluate Division

Medium
3863

Power Grid Maintenance

Medium
1558

Course Schedule IV

Medium
744

Network Delay Time

Medium
684

Redundant Connection

Medium
1039

Find the Town Judge

Easy
2121

Find if Path Exists in Graph

Easy
770

Couples Holding Hands

Hard
547

Number of Provinces

Medium
877

Shortest Path Visiting All Nodes

Hard
813

All Paths From Source to Target

Medium
2364

Longest Path With Different Adjacent Characters

Hard
2793

Count the Number of Complete Components

Medium
2439

Longest Cycle in a Graph

Hard
1300

Critical Connections in a Network

Hard
332

Reconstruct Itinerary

Hard
2206

Detonate the Maximum Bombs

Medium
3627

Find Minimum Time to Reach Last Room I

Medium
310

Minimum Height Trees

Medium
1275

Validate Binary Tree Nodes

Medium
1706

Min Cost to Connect All Points

Medium
2671

Shortest Cycle in a Graph

Hard
1032

Satisfiability of Equality Equations

Medium
685

Redundant Connection II

Hard
1916

Find Center of Star Graph

Easy
949

Cat and Mouse

Hard
1493

Frog Position After T Seconds

Hard
2409

Number of Increasing Paths in a Grid

Hard
1587

Parallel Courses II

Hard
2171

Second Minimum Time to Reach Destination

Hard
2686

Minimum Cost of a Path With Special Roads

Medium
871

Keys and Rooms

Medium
2220

Find All Possible Recipes from Given Supplies

Medium
2151

The Time When the Network Becomes Idle

Medium
3919

Network Recovery Pathways

Hard
1120

Flower Planting With No Adjacent

Medium
964

Minimize Malware Spread II

Hard
2472

Build a Matrix With Conditions

Hard
1456

Find the City With the Smallest Number of Neighbors at a Threshold Distance

Medium
1442

Number of Operations to Make Network Connected

Medium
2590

Maximum Star Sum of a Graph

Medium
1613

Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree

Hard
2189

Maximum Path Quality of a Graph

Hard
Loading more problems...

Graph LeetCode Problems List

Related LeetCode Topics

Graph LeetCode Problems - Interview Coder