2020年6月1日
摘要: 儿童节快乐 题目要求 算法分析 贪心算法,找到最大值,用最大值减去额外糖果数量,小于这个结果的不可能获得最多糖果 代码展示(C#) public class Solution { public IList<bool> KidsWithCandies(int[] candies, int extraC 阅读全文
posted @ 2020-06-01 23:11 King__R 阅读(162) 评论(0) 推荐(0)