Online Assessment
A Sparse Sliding Window Over Infinite Bags
AmazonSoftware Engineer · Online Assessment · Jan 2026
The first online-assessment question was set in Amazon's financial team. An analyst had an infinite line of bags numbered from 1 onward. Information about the money in the bags was given as continuous, nonintersecting segments. Every bag inside a segment held the segment's stated amount, while every bag outside the supplied segments held zero. The goal was to choose exactly k consecutive bags tha…
Shared by a candidate · reported Jan 2026. Interview formats change; use it as a guide, not a script.