摘要:
最少數(shù)量的箭引爆氣球 這里的重點(diǎn)在更新最小右邊界 class Solution { public int findMinArrowShots(int[][] points) { if(points.length==0){ return 0; } Arrays.sort(points, (a, b) 閱讀全文
posted @ 2025-04-28 09:30
Anson_502
閱讀(21)
評(píng)論(0)
推薦(0)
摘要:
合并區(qū)間 class Solution { public int[][] merge(int[][] intervals) { List<int[]> res = new LinkedList<>(); //按照左邊界排序 Arrays.sort(intervals, (x, y) -> Integ 閱讀全文
posted @ 2025-04-28 09:29
Anson_502
閱讀(8)
評(píng)論(0)
推薦(0)

浙公網(wǎng)安備 33010602011771號(hào)