Uber logoUber
Coding·60 minMembers

Sliding Window Maximum

Members only

Onsite coding prompt equivalent to Sliding Window Maximum. Given `nums` and window size `k`, return the maximum value in every contiguous window of length `k`.

SWE
sliding-window
queue
array
hard
Frequency
Single report
Last asked
2026-06-16
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...