โ† Accolite questions

Find unique pairs in array with target sum

Filed under Accolite

Given an integer array nums and an integer target, return all unique pairs [a, b] in nums whose sum equals target. Duplicate pairs must not be included in the output.

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

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