AmazonCodingMembers
Max-Sum Window over a Compressed Array
Members only
OA Q1 at the hard tier: a sparse array is given as run-length segments ([1,3,4] means indices 1-3 hold value 4; uncovered indices are 0) and the task is the maximum sum over any window of length k. Hi...
SWE
array
sliding-window
prefix-sum
hard
Frequency
Single report
Last asked
2026-07-08
Stage
oa
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
