solutions-return-new-collections-not-in-place

Status: IN

Array-rearrangement solutions (shuffle-the-array, shuffle-string) allocate and return new lists rather than mutating input arrays, even when in-place solutions exist.

Source: entries/2026/06/06/shuffle-the-array-solution.md

JSON