complement-count-one-pass

Status: IN

For problems with exactly two valid target patterns (e.g., alternating binary strings), the repo counts mismatches against one pattern and derives the other as `len - count`, requiring only a single pass.

Source: entries/2026/06/06/minimum-changes-to-make-alternating-binary-string-solution.md

JSON