website/content/union_find.md
+++ author = "一缕殇流化隐半边冰霜" categories = ["Algorithm", "Union Find"] date = 2019-11-16T08:31:00Z description = "" draft = false image = "https://img.halfrost.com/Blog/ArticleTitleImage/142_0.png" slug = "union_find" tags = ["Algorithm", "Union Find"] title = "Algorithm in LeetCode —— Union Find"
+++
| Title | Solution | Difficulty | Time | Space | 收藏 |
|---|---|---|---|---|---|
| 128. Longest Consecutive Sequence | Go | Hard | O(n) | O(n) | ❤️ |
| 130. Surrounded Regions | Go | Medium | O(m*n) | O(m*n) | |
| 200. Number of Islands | Go | Medium | O(m*n) | O(m*n) | |
| 399. Evaluate Division | Go | Medium | O(n) | O(n) | |
| 547. Friend Circles | Go | Medium | O(n^2) | O(n) | |
| 684. Redundant Connection | Go | Medium | O(n) | O(n) | |
| 685. Redundant Connection II | Go | Hard | O(n) | O(n) | |
| 721. Accounts Merge | Go | Medium | O(n) | O(n) | ❤️ |
| 765. Couples Holding Hands | Go | Hard | O(n) | O(n) | ❤️ |
| 778. Swim in Rising Water | Go | Hard | O(n^2) | O(n) | ❤️ |
| 803. Bricks Falling When Hit | Go | Hard | O(n^2) | O(n) | ❤️ |
| 839. Similar String Groups | Go | Hard | O(n^2) | O(n) | |
| 924. Minimize Malware Spread | Go | Hard | O(m*n) | O(n) | |
| 928. Minimize Malware Spread II | Go | Hard | O(m*n) | O(n) | ❤️ |
| 947. Most Stones Removed with Same Row or Column | Go | Medium | O(n) | O(n) | |
| 952. Largest Component Size by Common Factor | Go | Hard | O(n) | O(n) | ❤️ |
| 959. Regions Cut By Slashes | Go | Medium | O(n^2) | O(n^2) | ❤️ |
| 990. Satisfiability of Equality Equations | Go | Medium | O(n) | O(n) |