摘要: 该题在两个数组排序后使用双指针求解。 public int[] intersect(int[] nums1, int[] nums2) { Arrays.sort(nums1); Arrays.sort(nums2); int i=0,j=0; List<Integer> res=new Linke 阅读全文
posted @ 2021-09-23 19:07 毅毅毅毅毅 阅读(17) 评论(0) 推荐(0)