CodingReported in a candidate post, Oct 2021
Find a subarray with a given sum
Filed under Rebel Foods
The question
Given an array, find a continuous subarray that adds up to a given sum.
No write-up yet. Related questions below have one.
Related Rebel Foods questions
Collected from public candidate posts and coding forums. Updated Nov 2026.