โ† Oracle questions

Find all pairs in sorted array adding up to target sum

Filed under Oracle

Given a sorted integer array and a target sum, return all unique pairs of integers that add up to the target sum. The solution must run 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 Oracle questions

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