โ† Amazon questions

Find a pair with given sum and triplet with sum zero

Filed under Amazon

Given an array of integers, find a pair of elements that sum to a specific target, and separately find all unique triplets in the array that sum to zero.

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

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