大顶堆 import java.util.*; public class Solution { public ArrayList<Integer> maxInWindows(int [] num, int size) { ArrayList<Integer> list = new ArrayList(); if(size > num.length || size == 0) return list; PriorityQueue<Integer> maxHe...