
Union-Find
文章平均质量分 59
你看见我的代码了么
愿世界没有bug
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[leetcode]547. Friend Circles
[leetcode]547. Friend Circles Analysis ummmmmmmmmmmmmmmmmmmmmmmmm~—— [ummmm~] There are N students in a class. Some of them are friends, while some are not. Their friendship is transitive in...原创 2018-09-10 15:58:00 · 221 阅读 · 0 评论 -
[leetcode]684. Redundant Connection
[leetcode]684. Redundant Connection Analysis 突然想家。。。—— [每天刷题并不难。。。] In this problem, a tree is an undirected graph that is connected and has no cycles. The given input is a graph that started as a...原创 2018-10-15 15:21:58 · 117 阅读 · 0 评论