摘要: Problem A Apple Redistribution into Boxes 思路 求和-算所有苹果的和 然后将箱子从大到小排序 贪心即可 代码 class Solution { public int minimumBoxes(int[] apple, int[] capacity) { in 阅读全文
posted @ 2024-03-17 16:36 浅花迷人 阅读(3) 评论(0) 推荐(0) 编辑