1431. Kids With the Greatest Number of Candies
1431. Kids With the Greatest Number of Candies

Return a boolean array result of length n, where result[i] is true if, after giving the ith kid all the extraCandies, they will have the greatest number of candies among all the kids, or false otherwise.

#leetcode #problem 1431 #typescript