Skip to content

Commit c900b53

Browse files
committed
add new line and time complexity
1 parent ea3cb48 commit c900b53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

two-sum/JisuuungKim.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ def twoSum(self, nums: List[int], target: int) -> List[int]:
77
if x in d:
88
return [i, d[x]]
99
else:
10-
d[cur] = i
10+
d[cur] = i
11+
12+
# 시간복잡도 O(n)

0 commit comments

Comments
 (0)