克隆
jmspan
这个作者很懒,什么都没留下…
展开
-
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-05-27 00:22:58 · 794 阅读 · 0 评论 -
LeetCode 138. Copy List with Random Pointer(拷贝随机指针)
原题网址:https://leetcode.com/problems/copy-list-with-random-pointer/ A linked list is given such that each node contains an additional random pointer which could point to any node in the list or nul原创 2016-05-27 00:22:32 · 491 阅读 · 0 评论