leetcode python 简单难度 解答版本(持续更新)

1 (1_twosum) 标准答案1python class Solution(object): def twoSum(self, nums, target): dic = {} for i, num in enumerate(nums): if num in dic: return [dic[num]
相关文章
相关标签/搜索