共 1 篇文章
题目链接: 两数之和 这个题我们可以简单的想到暴力枚举的方案,让所有的数字两两组合,如果等于目标值.就返回对应的索引. python代码如下: class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: