摘要: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = 9, return [0, 1]. def twoSum(nums,target): res = [] i = 0 while i <len(nu 阅读全文
posted @ 2018-03-05 23:31 尘世中一个迷途小书童 阅读(308) 评论(0) 推荐(0) 编辑