โ† Directi questions

Triplet with Sum in Range (1, 2)

Filed under Directi

The question

Given n positive real numbers, find whether there exists a triplet among the set such that the sum of the triplet falls in the range (1, 2) in linear time and O(1) space.

No write-up yet. Related questions below have one.

Related Directi questions

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