triplet-no-index-tracking

Status: IN

Despite the problem requiring `i < j < k` ordering, `countTriplets` never tracks indices — the product `a * b * c` (one element from each of three distinct-value groups) maps 1-to-1 to ordered index triples.

Source: entries/2026/06/06/number-of-unequal-triplets-in-array-solution.md

JSON