
graph
文章平均质量分 75
小榕流光
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[leetcode] 323. Number of Connected Components in an Undirected Graph 解题报告
题目链接:https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph/ Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), wr原创 2016-03-13 06:48:19 · 1645 阅读 · 0 评论 -
[leetcode] 261. Graph Valid Tree 解题报告
题目链接:https://leetcode.com/problems/graph-valid-tree/ Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to check whether these原创 2016-03-05 15:41:18 · 4479 阅读 · 0 评论 -
[leetcode] 133. Clone Graph 解题报告
题目链接:https://leetcode.com/problems/clone-graph/ Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ's undirected graph serialization: Nodes ar原创 2016-03-05 04:47:30 · 4035 阅读 · 0 评论