LeetCode/Top150Interview/1_Two_Sum.py
2023-07-31 21:46:07 -07:00

7 lines
146 B
Python

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