hash
文章平均质量分 62
逝水无痕007
渣硕一枚
展开
-
LeetcodeOJ 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. 分析这道题就是深度复制一个链表,这个链表和其他的区别之原创 2015-05-08 16:14:10 · 447 阅读 · 0 评论 -
LeetcodeOJ Two Sum
题目链接 Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the tar原创 2015-05-05 09:32:36 · 350 阅读 · 0 评论