LeetCode: 1431-Kids With the Greatest Number of Candies 解題紀錄
Last Updated on 2023-04-17 by Clay
題目
There are n
kids with candies. You are given an integer array candies
, where each candies[i]
represents the number of candies the ith
kid has, and an integer extraCandies
, denoting the number of extra candies that you have.