Skip to content

Commit 84b3725

Browse files
Refactor : 3sum
1 parent 6177297 commit 84b3725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3sum/printjin-gmailcom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class Solution:
2-
def threeSum(self, nums: List[int]) -> List[List[int]]:
2+
def threeSum(self, nums):
33
triplets = set()
44
nums.sort()
55
for i in range(len(nums) - 2):

0 commit comments

Comments
 (0)