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 2064257 commit 1242b3eCopy full SHA for 1242b3e
two-sum/sungjinwi.py
@@ -1,3 +1,10 @@
1
+"""
2
+ TC : for문 내부 for문
3
+ O(N^2)
4
+ SC : 추가적인 메모리 쓰지 않으므로
5
+ O(1)
6
7
+
8
class Solution:
9
def twoSum(self, nums: List[int], target: int) -> List[int]:
10
for i in nums :
0 commit comments