← Amazon questions

Maximum sum from equal coin amounts in subarrays and sliding window max

Filed under Amazon

Given an array representing coin counts in houses, find the maximum sum obtainable by adding equal amounts of coins from a subarray, and find the maximum in all subarrays of size k (Sliding Window…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.