Skip to content

Commit 7816a76

Browse files
committed
Readd new line
1 parent 6f3acd6 commit 7816a76

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

contains-duplicate/mandel-17.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ def containsDuplicate(self, nums: List[int]) -> bool:
1111
if i == len(nums[:-2]):
1212
return False
1313
continue
14-
14+

top-k-frequent-elements/mandel-17.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ def topKFrequent(self, nums: List[int], k: int) -> List[int]:
1111

1212
frequent_rank = sorted(nums_dict.items(), key=lambda item:item[1], reverse=True)
1313
return [frequent_rank[j][0] for j in range(k)]
14+
1415

two-sum/mandel-17.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ def twoSum(self, nums: List[int], target: int) -> List[int]:
77

88
if second_value in nums[i+1:]:
99
return [i, nums[i+1:].index(second_value) + i+1]
10-
10+

0 commit comments

Comments
 (0)