build-array-mutates-input

Status: IN

`buildArray` mutates and returns the input `nums` list rather than allocating a separate output array — callers lose access to the original values after the call.

Source: entries/2026/06/06/build-array-from-permutation-solution.md

JSON