โ† Arcesium questions

Two Sum and Subarray with Given Sum

Filed under Arcesium

Find two numbers in an array whose sum equals a given target, then modify the approach to find a contiguous subarray that sums to the target in O(n) time.

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 Arcesium questions

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