Time: 2601 ms (35.95%), Space: 14.2 MB (68.06%) - LeetHub

This commit is contained in:
Deven
2022-07-12 13:01:05 -04:00
parent a10e51b86a
commit a2b8e1dd8f
+1
View File
@@ -5,6 +5,7 @@ class Solution(object):
:type target: int
:rtype: List[int]
"""
for i in range(len(nums)):
for j in range(i + 1, len(nums)):
if nums[i] + nums[j] == target: