k-distant-output-always-sorted

Status: IN

The return value is always in ascending order because `sorted()` is applied to the set before returning.

Source: entries/2026/06/06/find-all-k-distant-indices-in-an-array-solution.md

JSON