Skip to content

Commit 63f5061

Browse files
authored
Update minimum-amount-of-time-to-fill-cups.py
1 parent f37ae50 commit 63f5061

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/minimum-amount-of-time-to-fill-cups.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def fillCups(self, amount):
1010
"""
1111
return max(max(amount), (sum(amount)+1)//2)
1212

13+
1314
# Time: O(1)
1415
# Space: O(1)
1516
# constructive algorithms

0 commit comments

Comments
 (0)