Skip to content

Commit 81c6f19

Browse files
authored
Update maximum-and-sum-of-array.py
1 parent 04b1b69 commit 81c6f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/maximum-and-sum-of-array.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def maximumANDSum(self, nums, numSlots):
109109
:type numSlots: int
110110
:rtype: int
111111
"""
112-
def memoiztion(i, mask): # i is meta data, which could be derived from mask, just for easy implementation
112+
def memoiztion(i, mask): # i is metadata, which could be derived from mask, just for easy implementation
113113
if lookup[mask] != -1:
114114
return lookup[mask]
115115
x = nums[i] if i < len(nums) else 0

0 commit comments

Comments
 (0)