Skip to content

Commit 4e210bc

Browse files
committed
Sync LeetCode submission Runtime - 443 ms (90.05%), Memory - 20.7 MB (59.96%)
1 parent 25eb16c commit 4e210bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

0015-3sum/solution.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Approach 1 - Two Pointers
22

33
# Time: O(n^2)
4+
# Space: O(log n) for sorting
45

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

0 commit comments

Comments
 (0)