{"id":"solutions-nonmutating-when-copying","text":"Solutions that transform arrays (e.g., `performOps`) create a shallow copy with `nums[:]` before modification, leaving the caller's input unchanged.","truth_value":"IN","source":"entries/2026/06/06/apply-operations-to-an-array-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"solutions-nonmutating-when-copying","truth_value":"IN","reason":"premise"}]}}