Skip to content

Commit c2182f5

Browse files
authored
Update Two Sum II - Leetcode 167.py
1 parent b7103b5 commit c2182f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Two Sum II - Leetcode 167.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ def twoSum(self, numbers: List[int], target: int) -> List[int]:
1212
l += 1
1313
else:
1414
r -= 1
15+
16+
# Time Complexity: O(n)
17+
# Space Complexity: O(1)

0 commit comments

Comments
 (0)