class Solution { public static int[] maxSlidingWindow(int[] nums, int k) { int right =0; int[] res = new int[nums.le...