PriorityQueue<Integer> highQueue = new PriorityQueue<>(); // 小顶堆保存大数据部分 PriorityQueue<Integer> lowQueue = new PriorityQueue<>((Comparator<Integer>) (o1, o2) ...