distinct-averages-mutates-input

Status: IN

`distinctAverages` calls `nums.sort()` which mutates the caller's list in-place; no defensive copy is made.

Source: entries/2026/06/06/number-of-distinct-averages-solution.md

JSON