kth-distinct-preserves-insertion-order

Status: IN

The second pass iterates `arr` in its original order, so "kth distinct" respects the position strings first appear, not alphabetical or any other ordering.

Source: entries/2026/06/06/kth-distinct-string-in-an-array-solution.md

JSON