S+

DFS / BFS Basics

0 / 15
463Island Perimeter997Find the Town Judge953Verifying an Alien Dictionary1971Find if Path Exists in Graph200Number of Islands695Max Area of Island133Clone Graph417Pacific Atlantic Water Flow130Surrounded Regions323Number of Connected Components in an Undirected Graph841Keys and Rooms1254Number of Closed Islands1905Count Sub Islands2101Detonate the Maximum Bombs127Word Ladder
S

Topological Sort

0 / 13
207Course Schedule210Course Schedule II261Graph Valid Tree1462Course Schedule IV310Minimum Height Trees802Find Eventual Safe States1136Parallel Courses2115Find All Possible Recipes from Given Supplies444Sequence Reconstruction269Alien Dictionary2392Build a Matrix With Conditions2050Parallel Courses III1203Sort Items by Groups Respecting Dependencies
A+

Union-Find

0 / 11
684Redundant Connection721Accounts Merge399Evaluate Division947Most Stones Removed with Same Row or Column1202Smallest String With Swaps785Is Graph Bipartite?886Possible Bipartition1319Number of Operations to Make Network Connected990Satisfiability of Equality Equations1101The Earliest Moment When Everyone Become Friends2421Number of Good Paths
A

Multi-source BFS

0 / 8
286Walls and Gates994Rotting Oranges752Open the Lock54201 Matrix1162As Far from Land as Possible934Shortest Bridge1091Shortest Path in Binary Matrix2812Find the Safest Path in a Grid
B

Dijkstra Basics

0 / 3
743Network Delay Time787Cheapest Flights Within K Stops1631Path With Minimum Effort