remove-duplicates-stack-invariant

Status: IN

In `removeDuplicates`, the stack never contains two identical adjacent characters at any point during execution, guaranteeing the result is fully reduced in a single pass.

Source: entries/2026/06/06/remove-all-adjacent-duplicates-in-string-solution.md

JSON