{"id":"complement-count-one-pass","text":"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.","truth_value":"IN","source":"entries/2026/06/06/minimum-changes-to-make-alternating-binary-string-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"complement-count-one-pass","truth_value":"IN","reason":"premise"}]}}