โ† Amazon questions

Find triplets satisfying the triangle inequality property

Filed under Amazon

Given an array of positive numbers, find all triplets that satisfy the triangle inequality condition where the sum of any two sides is greater than the third side.

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.