You are given an array of integers nums and a window size k. The window of size k slides from the very left of the array to the very right, moving one position at a time. You can only see the k numbers inside the window.
Return an array of the maximum value in each window.