We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb0f7a5 commit 7e6bb21Copy full SHA for 7e6bb21
1. Two Sum.py
@@ -6,6 +6,9 @@
6
# You may assume that each input would have exactly one solution, and you may
7
# not use the same element twice.
8
9
+# Runtime: 36 ms, faster than 76.63% of Python online submissions for Two Sum.
10
+# Memory Usage: 13.1 MB, less than 46.92% of Python online submissions for Two Sum.
11
+
12
def twoSum(nums, target):
13
"""
14
:type nums: List[int]
0 commit comments