Skip to content

Commit b17f590

Browse files
committed
Time: 6 ms (2.04%), Space: 17.7 MB (84.49%) - LeetHub
1 parent f7664ee commit b17f590

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class Solution:
2+
def kidsWithCandies(self, candies: List[int], extraCandies: int) -> List[bool]:
3+
return [max(candies) <= i+extraCandies for i in candies]

0 commit comments

Comments
 (0)