摘要: 贪心算法: /** * 455. 分发饼干 * @param g * @param s * @return */ public int findContentChildren(int[] g, int[] s) { // 优先考虑胃口,先喂饱大胃口 Arrays.sort(g); Arrays.so 阅读全文
posted @ 2023-05-16 11:00 LinxhzzZ 阅读(14) 评论(0) 推荐(0)