union find 查并集题库

Status
Title
Solution
Acceptance
Difficulty
Frequency
438. Find All Anagrams in a String
50.0%
Medium
200. Number of Islands
56.7%
Medium
2421. Number of Good Paths
58.0%
Hard
399. Evaluate Division
59.6%
Medium
886. Possible Bipartition
49.9%
Medium
947. Most Stones Removed with Same Row or Column
58.8%
Medium
128. Longest Consecutive Sequence
48.7%
Medium
990. Satisfiability of Equality Equations
50.7%
Medium
827. Making A Large Island
44.8%
Hard
1061. Lexicographically Smallest Equivalent String
76.8%
Medium
1971. Find if Path Exists in Graph
52.3%
Easy
695. Max Area of Island
71.8%
Medium
959. Regions Cut By Slashes
69.2%
Medium
721. Accounts Merge
56.4%
Medium
1101. The Earliest Moment When Everyone Become Friends
64.7%
Medium
694. Number of Distinct Islands
60.7%
Medium
130. Surrounded Regions
36.5%
Medium
1998. GCD Sort of an Array
45.6%
Hard
2382. Maximum Segment Sum After Removals
47.7%
Hard
711. Number of Distinct Islands II
51.8%
Hard
1627. Graph Connectivity With Threshold
46.2%
Hard
839. Similar String Groups
47.9%
Hard
785. Is Graph Bipartite?
53.0%
Medium
2334. Subarray With Elements Greater Than Varying Threshold
41.0%
Hard
1168. Optimize Water Distribution in a Village
64.5%
Hard
2307. Check for Contradictions in Equations
43.1%
Hard
547. Number of Provinces
63.6%
Medium
2157. Groups of Strings
25.5%
Hard
684. Redundant Connection
62.2%
Medium
2371. Minimize Maximum Value in a Grid
70.9%
Hard
1102. Path With Maximum Minimum Value
53.3%
Medium
1559. Detect Cycles in 2D Grid
48.1%
Medium
1970. Last Day Where You Can Still Cross
49.6%
Hard
305. Number of Islands II
39.4%
Hard
261. Graph Valid Tree
47.0%
Medium
1579. Remove Max Number of Edges to Keep Graph Fully Traversable
53.1%
Hard
323. Number of Connected Components in an Undirected Graph
62.2%
Medium
778. Swim in Rising Water
59.8%
Hard
765. Couples Holding Hands
56.9%
Hard
1319. Number of Operations to Make Network Connected
58.8%
Medium
1254. Number of Closed Islands
64.1%
Medium
1258. Synonymous Sentences
56.7%
Medium
1202. Smallest String With Swaps
57.6%
Medium
952. Largest Component Size by Common Factor
40.2%
Hard
1631. Path With Minimum Effort
55.5%
Medium
2493. Divide Nodes Into the Maximum Number of Groups
37.0%
Hard
1020. Number of Enclaves
65.4%
Medium
1584. Min Cost to Connect All Points
63.9%
Medium
1905. Count Sub Islands
67.6%
Medium
928. Minimize Malware Spread II
42.8%
Hard
1135. Connecting Cities With Minimum Cost
61.3%
Medium

posted @ 2023-02-06 06:09  苗妙苗  阅读(16)  评论(0编辑  收藏  举报