Skip to content

Topic: Graph

136 problems
TitleStatusDifficulty
Clone GraphMedium
Course ScheduleMedium
Course Schedule IIMedium
Graph Valid TreeMedium
Alien DictionaryHard
Minimum Height TreesMedium
Number of Connected Components in an Undirected GraphMedium
Longest Increasing Path in a MatrixHard
Reconstruct ItineraryHard
Evaluate DivisionMedium
Number of ProvincesMedium
Redundant ConnectionMedium
Redundant Connection IIreadHard
Network Delay TimeMedium
Cracking the SafeHard
Couples Holding HandsHard
Is Graph Bipartite?Medium
Cheapest Flights Within K StopsMedium
All Paths From Source to TargetMedium
Find Eventual Safe StatesMedium
Sum of Distances in TreeHard
Keys and RoomsMedium
Shortest Path Visiting All NodesHard
Loud and RichMedium
Reachable Nodes In Subdivided GraphHard
Possible BipartitionMedium
Cat and MouseHard
Minimize Malware SpreadreadHard
Minimize Malware Spread IIHard
Most Stones Removed with Same Row or ColumnMedium
Satisfiability of Equality EquationsMedium
Find the Town JudgeEasy
Flower Planting With No AdjacentMedium
Shortest Path with Alternating ColorsMedium
Critical Connections in a NetworkHard
Sort Items by Groups Respecting DependenciesHard
Maximum Candies You Can Get from BoxesHard
Get Watched Videos by Your FriendsMedium
Number of Operations to Make Network ConnectedMedium
Find the City With the Smallest Number of Neighbors at a Threshold DistancereadMedium
Validate Binary Tree NodesMedium
Minimum Cost to Make at Least One Valid Path in a GridHard
Frog Position After T SecondsHard
Course Schedule IVMedium
Reorder Routes to Make All Paths Lead to the City ZeroMedium
Find Critical and Pseudo-Critical Edges in Minimum Spanning TreereadHard
Parallel Courses IIHard
Path with Maximum ProbabilityMedium
Minimum Number of Vertices to Reach All NodesMedium
Remove Max Number of Edges to Keep Graph Fully TraversableHard
Page 1 of 3