negation-marking-requires-1-to-n-range

Status: IN

The in-place negation-marking technique only works when values are guaranteed in `[1, n]`, since each value `v` maps to index `v - 1`; values outside this range would cause out-of-bounds access.

Source: entries/2026/06/06/find-all-numbers-disappeared-in-an-array-solution.md

JSON