python 暴力法: for i in range(len(numbers)): for j in range(i+1, len(numbers)): if numbers[i] + numbers[j] == target: return i+1, j+1python 预先准备好map,由于数字可能重复出现所以map是{6:[1,4], 7:[2]}的形式,数组内表示数字出现的次数 map = {} for i, n in enumerate(nu...