← Questions

Unique pairs with a target sum

0
AmazonCodingLast asked May 2026

Return each distinct pair of values from an array that sums to a target, counting a pair only once even when the values repeat.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding