边界计数法 import java.util.*; public class Solution { public int minmumNumberOfHost (int n, int[][] startEnd) { // Arrays.sort(startEnd, (a, b) -> a[0]==b[0]?a[1]-b[1]:a[0]-b[0]); int ans = 0; TreeMap<Integer, Integer> tm = new TreeMap<>(); f...