def twoSum(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[int] """