PhantomCodeAIPhantomCodeAI
FeaturesMock InterviewDashboardJobsPricing
FeaturesMock InterviewDashboardJobsPricing
PhantomCodeAIPhantomCodeAI
FeaturesMock InterviewDashboardJobsPricing
FeaturesMock InterviewDashboardJobsPricing
HomeLeetCode ProblemsUnion Find

Union Find Problems

74 Union Find LeetCode problems · Solve with AI-powered hints & step-by-step explanations.

128Longest Consecutive SequenceMedium130Surrounded RegionsMedium200Number of IslandsMedium399Evaluate DivisionMedium547Number of ProvincesMedium684Redundant ConnectionMedium685Redundant Connection IIHard695Max Area of IslandMedium721Accounts MergeMedium765Couples Holding HandsHard778Swim in Rising WaterHard785Is Graph Bipartite?Medium803Bricks Falling When HitHard827Making A Large IslandHard839Similar String GroupsHard886Possible BipartitionMedium924Minimize Malware SpreadHard928Minimize Malware Spread IIHard947Most Stones Removed with Same Row or ColumnMedium952Largest Component Size by Common FactorHard959Regions Cut By SlashesMedium990Satisfiability of Equality EquationsMedium1020Number of EnclavesMedium1061Lexicographically Smallest Equivalent StringMedium1202Smallest String With SwapsMedium1254Number of Closed IslandsMedium1267Count Servers that CommunicateMedium1319Number of Operations to Make Network ConnectedMedium1361Validate Binary Tree NodesMedium1391Check if There is a Valid Path in a GridMedium1489Find Critical and Pseudo-Critical Edges in Minimum Spanning TreeHard1559Detect Cycles in 2D GridMedium1569Number of Ways to Reorder Array to Get Same BSTHard1579Remove Max Number of Edges to Keep Graph Fully TraversableHard1584Min Cost to Connect All PointsMedium1627Graph Connectivity With ThresholdHard1631Path With Minimum EffortMedium1632Rank Transform of a MatrixHard1697Checking Existence of Edge Length Limited PathsHard1722Minimize Hamming Distance After Swap OperationsMedium1905Count Sub IslandsMedium1970Last Day Where You Can Still CrossHard1971Find if Path Exists in GraphEasy1998GCD Sort of an ArrayHard2003Smallest Missing Genetic Value in Each SubtreeHard2076Process Restricted Friend RequestsHard2092Find All People With SecretHard2157Groups of StringsHard2316Count Unreachable Pairs of Nodes in an Undirected GraphMedium2334Subarray With Elements Greater Than Varying ThresholdHard2368Reachable Nodes With RestrictionsMedium2382Maximum Segment Sum After RemovalsHard2421Number of Good PathsHard2424Longest Uploaded PrefixMedium2492Minimum Score of a Path Between Two CitiesMedium2493Divide Nodes Into the Maximum Number of GroupsHard2503Maximum Number of Points From Grid QueriesHard2573Find the String with LCPHard2617Minimum Number of Visited Cells in a GridHard2658Maximum Number of Fish in a GridMedium2685Count the Number of Complete ComponentsMedium2709Greatest Common Divisor TraversalHard2812Find the Safest Path in a GridMedium2948Make Lexicographically Smallest Array by Swapping ElementsMedium3108Minimum Cost Walk in Weighted GraphHard3235Check if the Rectangle Corner Is ReachableHard3378Count Connected Components in LCM GraphHard3493Properties GraphMedium3532Path Existence Queries in a Graph IMedium3600Maximize Spanning Tree Stability with UpgradesHard3607Power Grid MaintenanceMedium3608Minimum Time for K Connected ComponentsMedium3613Minimize Maximum Component CostMedium3619Count Islands With Total Value Divisible by KMedium
← Browse all LeetCode problems
PhantomCodeAIPhantomCodeAI
PhantomCodeAI is an undetectable desktop application to help you pass your Leetcode interviews.
All systems online
Download

Legal

Refund PolicyTerms of ServiceCancellation PolicyPrivacy Policy

Pages

Contact SupportHelp CenterInstant SupportFAQBlogFeaturesInterview CopilotCoding CopilotInterview QuestionsPricingMock Interview PricingEarn with UsBest AI Interview Assistants 2026FeedbackLeetcode ProblemsLoginCreate Account

Compare

All 29 comparisons →Why switch (29 alternatives) →Interview Coder AlternativeFinal Round AI AlternativeUltraCode AI AlternativeParakeet AI AlternativeAI Apply AlternativeCoderRank AlternativeInterviewing.io AlternativeShadeCoder Alternative

Resources

Salary GuideResume TemplatesWhat Is PhantomCodeAIIs PhantomCodeAI Detectable?Use PhantomCodeAI in HackerRankvs LeetCode PremiumFor European EngineersFor FAANG Interview PrepPost-Layoff ComebackIndia Pricing (INR)

Interview Types

Coding InterviewSystem Design InterviewDSA InterviewLeetCode InterviewAlgorithms InterviewData Structure InterviewSQL InterviewOnline Assessment

Interview Questions

See all →
GoogleAmazonMetaMicrosoftAppleNetflixStripeUberAirbnbBloombergSoftware EngineerFrontend EngineerBackend EngineerData EngineerML EngineerDevOps EngineerData ScientistEngineering ManagerBehavioralSystem Design

Mock Interview by Round Type

All formats →
Mock Interview HubMock Coding InterviewMock Behavioral InterviewMock System Design

AI for Industry Interviews

All industries →
Sales InterviewsPM InterviewsFinance InterviewsConsulting InterviewsDesign Interviews

Coding Interview Patterns

See all patterns →
Coding Interviews HubDynamic ProgrammingTwo Pointers + Sliding WindowGraph AlgorithmsTree AlgorithmsBinary Search

Interview Guides

See all guides →
How to Ace an InterviewHow to Crack InterviewsBest Interview AnswersScreening Interview QuestionsTelephone Interview TipsWorking Interview ExplainedCracking the PM InterviewFAANG 30-Day RoadmapTop 10 LeetCode PatternsSystem Design Prep GuideSTAR Behavioral MethodBehavioral Interview Qs

Alternatives — why engineers switch

See all 29 →
Interview CoderFinal Round AIParakeet AILockedIn AIUltraCode AIShadeCoderSensei AIVerve AICluelyChatGPTBeyz AIInterview SidekickYoodliAlgoMonsterCoderRankExponentFormationInterviewing.ioInterview CakeBig InterviewInterview KickstartPrampScalerAI ApplyCareerflowJobscanKickresumeTeal HQHireVue

AI Interview Tools

AI Interview AssistantAI Interview CoachAI for Job InterviewsAI Interview Preparation ToolReal-Time AI Interview AnswersInterview AI HelperReal-Time AI Interview AssistantAI Interview BotBest AI Interview Tools 2026AI Interview QuestionsPractice Interview QuestionsAI to Answer Interview QuestionsAI Phone Interview HelpAI Interviewing SoftwareAI Interview HubInterview CopilotAI Coding Interview AssistantMock Interview

© 2026 PhantomCodeAI. All rights reserved.