简单粗暴for循环 import java.util.*; public class Solution { public ArrayList<Integer> maxInWindows(int [] num, int size) { ArrayList<Integer> ret =new ArrayList<Integer>(); if(num.length==0 || size==0 || size>num.length){ return ret; } f...