{"id":"str-replace-replaces-all-occurrences","text":"`str.replace(d, '9')` remaps every occurrence of digit `d`, not just the first — this matches the problem's \"remap a digit\" semantics where choosing digit `d` affects all positions.","truth_value":"IN","source":"entries/2026/06/06/maximum-difference-by-remapping-a-digit-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"str-replace-replaces-all-occurrences","truth_value":"IN","reason":"premise"}]}}