Return the Maximum of Every Sliding Window

Read the full interview experience this question came from →

Quick Overview

Given an integer array and window size `k`, return the maximum value from every contiguous window in left-to-right order.

Return the Maximum of Every Sliding Window

Company: Amazon

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: HR Screen

Overview: Given an integer array and window size `k`, return the maximum value from every contiguous window in left-to-right order.

Read the full Amazon Software Engineer interview experience this question came from

Amazon logo
Amazon
Aug 11, 2026
hardSoftware EngineerHR ScreenCoding & Algorithms
32
0
Loading...