Search
⌘K
Get Premium
Leetcode 1431. Kids With the Greatest Number of Candies
For each child, determine whether giving them all extraCandies makes their total at least the current maximum candies among all kids — equivalently, compare candies[i] + extraCandies to max(candies) and return a boolean list.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.