← Amazon questions

Triplet sum

Filed under Amazon · Also reported at EagleView, Microsoft, Tekion, TripAdvisor

Given an unsorted array of integers and a target value K, find three integers in the array such that their sum equals K. Return any valid triplet.

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.