LeetCode/Top150Interview/1_Two_Sum.py

9 lines
172 B
Python

def twoSum(nums, target):
"""
:type nums: List[int]
:type target: int
:rtype: List[int]
"""
twoSum([2,7,11,15], 9)