← Amazon questions

Find triplet in array whose sum is closest to given number

Filed under Amazon

Given an integer array and a target, find three integers in the array such that their sum is closest to the target. Return the sum.

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.