public class Solution { public ArrayList<Integer> maxInWindows(int [] num, int size) { ArrayList <Integer> result=new ArrayList<>(); int maxindex=findmax(Arrays.copyOfRange(num,0,size),size); int res=num[maxindex]; result.add(res)...