โ† FactSet questions

Count index triplets with conditions

Filed under FactSet

Given an array of n distinct integers and a threshold t, count the number of index triplets (a, b, c) such that a < b < c and d[a] + d[b] + d[c] <= t.

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

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