← Oracle questions

Subarray sum equal to given number

Filed under Oracle

Given an array of integers `nums` and an integer `target`, return the 0-based start and end indices `[start, end]` (inclusive) of the first contiguous subarray whose sum equals `target`. If no such…

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

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