摘要: Copy List with Random Pointers 复制带随机指针的链表 思路1:使用哈希表,需要消耗O(N)的额外空间。 1 public class Solution { 2 /** 3 * @param head: The head of linked list with a ran 阅读全文
posted @ 2016-11-06 13:11 coldyan 阅读(305) 评论(0) 推荐(0) 编辑