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 6177297 commit 84b3725Copy full SHA for 84b3725
3sum/printjin-gmailcom.py
@@ -1,5 +1,5 @@
1
class Solution:
2
- def threeSum(self, nums: List[int]) -> List[List[int]]:
+ def threeSum(self, nums):
3
triplets = set()
4
nums.sort()
5
for i in range(len(nums) - 2):
0 commit comments