摘要: 1、leetcode455 分发饼干 class Solution { public int findContentChildren(int[] g, int[] s) { Arrays.sort(g); Arrays.sort(s); int gIndex = 0; int sIndex = 0; 阅读全文
posted @ 2023-02-14 22:46 黄三七 阅读(16) 评论(0) 推荐(0)
摘要: 1、leetcode93 复原IP地址 class Solution { List<String> res = new ArrayList<>(); public boolean isValid(String s, int start, int end) { if(start > end) { re 阅读全文
posted @ 2023-02-14 22:40 黄三七 阅读(17) 评论(0) 推荐(0)