{"id":"greedy-three-chars-always-sufficient","text":"When replacing `?` to avoid consecutive repeats, trying candidates from `'abc'` always yields a valid choice because a position has at most 2 neighbors and 3 candidates guarantees one is conflict-free (pigeonhole principle).","truth_value":"IN","source":"entries/2026/06/06/replace-all-s-to-avoid-consecutive-repeating-characters-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"greedy-three-chars-always-sufficient","truth_value":"IN","reason":"premise"}]}}