LeetCode 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 null.
Return a deep copy of the list.
思路分析:这题要求拷贝链表,包括内容,ne
转载
2015-04-30 16:14:08 ·
302 阅读 ·
0 评论