Skip to content

Commit 66b72f3

Browse files
authored
Fixed name of file
1 parent f9b1daa commit 66b72f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: python/2554-maximum-number-of-integers-to-choose-from-a-range-I.py renamed to python/2554-maximum-number-of-integers-to-choose-from-a-range-i.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class Solution:
22
def maxCount(self, banned: List[int], n: int, maxSum: int) -> int:
3-
nums = {x:1 for x in range(1,n+1)} # hashmap for storing the required elements
3+
nums = {x:1 for x in range(1, n + 1)} # hashmap for storing the required elements
44
for i in banned:
55
if nums.get(i):
66
del nums[i]

0 commit comments

Comments
 (0)