摘要:
1.力扣435--无重叠区间 class Solution { public int eraseOverlapIntervals(int[][] intervals) { Arrays.sort(intervals,(o1,o2)->(o1[1]-o2[1])); int res = 1; int 阅读全文
posted @ 2023-01-14 14:55
lyjps
阅读(11)
评论(0)
推荐(0)
摘要:
1.力扣88--合并两个有序数组 class Solution { public void merge(int[] nums1, int m, int[] nums2, int n) { int cur = m+n-1; int p = m-1,q = n-1; while(p>=0&&q>=0){ 阅读全文
posted @ 2023-01-14 13:18
lyjps
阅读(14)
评论(0)
推荐(0)

浙公网安备 33010602011771号