摘要: 1.leetcode455 分发饼干 这里的局部最优解其实就是:大饼干先满足大胃口的 class Solution { public int findContentChildren(int[] g, int[] s) { Arrays.sort(g); Arrays.sort(s); int con 阅读全文
posted @ 2022-05-13 19:53 明卿册 阅读(49) 评论(0) 推荐(0) 编辑