Skip to content

Commit 7e6bb21

Browse files
author
irsol
committed
Updated solution
1 parent fb0f7a5 commit 7e6bb21

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

1. Two Sum.py

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
# You may assume that each input would have exactly one solution, and you may
77
# not use the same element twice.
88

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+
912
def twoSum(nums, target):
1013
"""
1114
:type nums: List[int]

0 commit comments

Comments
 (0)