Skip to content

Topic: Union Find

71 problems
#TitleStatusDifficulty
128Longest Consecutive SequenceMedium
130Surrounded RegionsMedium
200Number of IslandsMedium
261Graph Valid TreeMedium
323Number of Connected Components in an Undirected GraphreadMedium
399Evaluate DivisionreadMedium
547Number of ProvincesMedium
684Redundant ConnectionreadMedium
685Redundant Connection IIreadHard
695Max Area of IslandMedium
721Accounts MergeMedium
765Couples Holding HandsreadHard
778Swim in Rising WaterreadHard
785Is Graph Bipartite?readMedium
803Bricks Falling When HitreadHard
827Making A Large IslandreadHard
839Similar String GroupsreadHard
886Possible BipartitionreadMedium
924Minimize Malware SpreadreadHard
928Minimize Malware Spread IIreadHard
947Most Stones Removed with Same Row or ColumnMedium
952Largest Component Size by Common FactorreadHard
959Regions Cut By SlashesreadMedium
990Satisfiability of Equality EquationsMedium
1020Number of EnclavesreadMedium
1061Lexicographically Smallest Equivalent StringreadMedium
1202Smallest String With SwapsreadMedium
1254Number of Closed IslandsreadMedium
1267Count Servers that CommunicatereadMedium
1319Number of Operations to Make Network ConnectedreadMedium
1361Validate Binary Tree NodesreadMedium
1391Check if There is a Valid Path in a GridreadMedium
1489Find Critical and Pseudo-Critical Edges in Minimum Spanning TreereadHard
1559Detect Cycles in 2D GridreadMedium
1569Number of Ways to Reorder Array to Get Same BSTreadHard
1579Remove Max Number of Edges to Keep Graph Fully TraversablereadHard
1584Min Cost to Connect All PointsreadMedium
1627Graph Connectivity With ThresholdreadHard
1631Path With Minimum EffortreadMedium
1632Rank Transform of a MatrixreadHard
1697Checking Existence of Edge Length Limited PathsreadHard
1722Minimize Hamming Distance After Swap OperationsreadMedium
1905Count Sub IslandsreadMedium
1970Last Day Where You Can Still CrossreadHard
1971Find if Path Exists in GraphreadEasy
1998GCD Sort of an ArrayreadHard
2003Smallest Missing Genetic Value in Each SubtreereadHard
2076Process Restricted Friend RequestsreadHard
2092Find All People With SecretreadHard
2157Groups of StringsreadHard
Page 1 of 2