remove-dupes-assumes-nonempty

Status: OUT

`removeDuplicates` starts `k=1` with no empty-list guard, so an empty input returns 1 instead of 0 — a latent bug masked by LeetCode's `1 <= nums.length` constraint.

Source: entries/2026/06/06/remove-duplicates-from-sorted-array-solution.md

Depended on by

JSON