摘要: 1、Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = 9, return [0, 1]. #方法一: 1 class Solution: 2 def twoSum(self,nums,target): 3 l = [] 4 count = l... 阅读全文
posted @ 2018-06-11 10:54 曾小燕 阅读(294) 评论(0) 推荐(0) 编辑