def maxInWindows(self , num: List[int], size: int) -> List[int]: # write code here l=len(num) res =[max(num[0:size])] for i in range(size,l): if num[i-size]<res[-1]: if num[i]<res[-1]: res.append(res[-1]) ...