Skip to content

Commit b753f30

Browse files
Update taurus09318976.py
1 parent 9e5e7e4 commit b753f30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

3sum/taurus09318976.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# 이 문제는 1)정렬을 통해 중복을 처리, 2)투 포인터를 사용하여 효율적으로 탐색,
2-
#3) 합이 0보다 작으면 left를 +1, 크면 right를 -1이동, 4)중복된
1+
# 이 문제는 1)정렬을 통해 중복을 처리, 2)투 포인터를 사용하여 좀 더 효율적으로 탐색,
2+
#3) 합이 0보다 작으면 left를 +1, 크면 right를 -1이동, 4)중복된 조합은 건너뛰기
33

44
class Solution:
55
def threeSum(self, nums: List[int]) -> List[List[int]]:

0 commit comments

Comments
 (0)