โ† Adobe questions
CodingReported in a candidate post, Aug 2021

Count Triplets Forming a Triangle

Filed under Adobe

Given an array of integers representing side lengths, count the number of triplets (i, j, k) with i < j < k such that they can form the sides of a triangle (i.e., a + b > c, a + c > b, and b + c > a).

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

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