Skip to content

Commit 720a666

Browse files
committed
Two sum
1 parent ad99dfd commit 720a666

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Arrays/001-twosum.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ def twoSum(nums, target):
1010
#S:O(1)
1111

1212
#Solution2 hashmap
13-
#use hash map to instantly check for difference value, map will add index of last occurrence of a num, don’t use same element twice
1413
def twoSum(nums, target):
1514
dict = {}
1615
for i in range(len(nums)):

0 commit comments

Comments
 (0)