โ† Amazon questions

Contiguous elements in an array whose sum is k

Filed under Amazon

Given an array of integers and a target value k, find a contiguous subarray within the array that sums up to k.

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.