题目1:三数求和 给定数组nums和Target,求数组中i,j,k a[i] + a[j] + a[k] = target i != j != k的三元组个数。 AC import sys from collections import Counter def two_pointers(nums, target): left = 0 right = len(nums) - 1 cnt = Counter(nums) res = 0 while left < right: tsum = nums[left] + n...