solutions-nonmutating-when-copying

Status: IN

Solutions that transform arrays (e.g., `performOps`) create a shallow copy with `nums[:]` before modification, leaving the caller's input unchanged.

Source: entries/2026/06/06/apply-operations-to-an-array-solution.md

JSON