这道题可以简单粗暴的整俩循环就完事了,拒绝花里胡哨! import java.util.*; public class Solution { public ArrayList<Integer> maxInWindows(int [] num, int size) { ArrayList<Integer> array = new ArrayList<>(); if(size == 0 || size>num.length || num.length == 0){ return array; ...