HTMLify
LeetCode - Kids With the Greatest Number of Candies - Python
Views: 355 | Author: abh
1 2 3 | class Solution: def kidsWithCandies(self, candies: List[int], extraCandies: int) -> List[bool]: return [c + extraCandies >= max(candies) for c in candies] |