Sliding Window Maximum at Oracle
Hard48.4% acceptance
This problem has 75.0% frequency at Oracle.
Problem Description
You are given an array of integers `nums`, there is a sliding window of size `k` which is moving from the very left of the array to the very right. You can only see the `k` numbers in the window. Each time the sliding window moves right by one position. Return _the max sliding window_.
Read full problem and hintsTopics
Also asked at 47 companies
More Oracle Questions
Two SumEasyLongest Substring Without Repeating CharactersMediumNumber of IslandsMediumMerge k Sorted ListsHardGroup AnagramsMedium
View all Oracle questions