โ† Amazon questions

Find triplets in array that sum to k

Filed under Amazon

Given an array of integers and a target sum k, find all unique triplets (a, b, c) in the array such that a + b + c = k.

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.