摘要:
Two SumGiven 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... 阅读全文
posted @ 2014-05-14 22:38
陆草纯
阅读(6928)
评论(0)
推荐(1)
摘要:
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?解法一:使用unordered_map记录当前节点... 阅读全文
posted @ 2014-05-14 22:18
陆草纯
阅读(332)
评论(0)
推荐(0)
浙公网安备 33010602011771号