day36||452. 用最少数量的箭引爆气球435. 无重叠区间 763.划分字母区间
452. 用最少数量的箭引爆气球 class Solution {public int findMinArrowShots(int[][] points) {//Arrays.sort(points,(a,b)->a[0]-b[0]);//这句话会溢出Arrays.sort(points,(a,b)->Integer.compare(a[0],b[0]));int count 1;for(int i 1;i<points.length;i){if(p…
2025-12-20