We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2a74d0 commit 2064257Copy full SHA for 2064257
two-sum/sungjinwi.py
@@ -0,0 +1,6 @@
1
+class Solution:
2
+ def twoSum(self, nums: List[int], target: int) -> List[int]:
3
+ for i in nums :
4
+ for j in nums :
5
+ if i != j and nums[i] + nums[j] == target :
6
+ return [i, j]
0 commit comments