DSA Master
Home
Problems
123
Schedule
17 Patterns
Data Structures
PDF Guide
Back to Problems
Mark as Complete
Sliding Window Maximum
#239
Hard
Sliding Window
O(n)
O(k)
Amazon
Google
Meta
View on LeetCode
Description
Approach
Solution
Related
Problem Description
Return the maximum element in each sliding window of size k.