All Problems

123 problems total

Filter by Difficulty:

Tag:

Company:

Active filters:Tag: union-find×
TitleDifficultyVideosCompanies
Array With Elements Not Equal to Average of Neighborsmedium-
Count Connected Components in LCM Graphhard-
Detect Cycle in Undirected Grapheasy-
Maximum Number of Matching Indices After Right Shiftseasy-
Maximum Product of the Length of Two Palindromic Subsequencesmedium-
Minimum Cost Tree From Leaf Valuesmedium-
Path Existence Queries in a Graph Imedium-
Path With Minimum Effortmedium-
Properties Graphmedium-
Smallest String With Swapsmedium-
Longest Consecutive Sequencemedium
Surrounded Regionsmedium-
Number of Islandsmedium
Graph Valid Treemedium-
Number of Islands IIhard-
Number of Connected Components in an Undirected Graphmedium-
Evaluate Divisionmedium-
Number of Provincesmedium-
Redundant Connectionmedium-
Redundant Connection IIhard-
Number of Distinct Islandsmedium-
Max Area of Islandmedium-
Number of Distinct Islands IIhard-
Accounts Mergemedium-
Sentence Similarity 2 - with transitive word pairsmedium-
Couples Holding Handshard-
Swim in Rising Waterhard-
Is Graph Bipartitemedium-
Bricks Falling When Hithard-
Making A Large Islandhard-
Similar String Groupshard-
Possible Bipartitionmedium-
Minimize Malware Spreadhard-
Minimize Malware Spread 2hard-
Most Stones Removed with Same Row or Columnmedium
Largest Component Size by Common Factorhard-
Regions Cut By Slashesmedium-
Satisfiability of Equality Equationsmedium-
Number of Enclavesmedium-
Lexicographically Smallest Equivalent Stringmedium-
Find K-Length Substrings With No Repeated Charactersmedium-
The Earliest Moment When Everyone Become Friendsmedium-
Path With Maximum Minimum Valuemedium-
Connecting Cities With Minimum Costmedium-
As Far from Land as Possiblemedium-
Optimize Water Distribution in a Villagehard-
Number of Closed Islandsmedium-
Maximum Score Words Formed by Lettershard
Synonymous Sentencesmedium-
Greatest Sum Divisible by Threemedium-
Showing 1 to 50 of 123 results