Status: IN
The group-contribution sweep in `countTriplets` produces the same result regardless of iteration order over `Counter.values()`, because each triple of distinct groups is counted exactly once when its "middle" group (in processing order) is visited.
Source: entries/2026/06/06/number-of-unequal-triplets-in-array-solution.md