← Google questions
CodingReported in a candidate post, Feb 2026

All unique pairs in a sorted array summing to a target

Filed under Google

Given an integer array arr sorted in non-decreasing order and an integer target, return all unique pairs [a, b] of elements (a <= b) from the array such that a + b == target. Return the pairs in…

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

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