{"id":"mutable-list-for-string-mutation","text":"Solutions that need in-place character modification convert the input string to a `list` via `list(s)`, mutate it, then rejoin with `''.join(chars)` — this avoids O(n²) repeated string concatenation.","truth_value":"IN","source":"entries/2026/06/06/replace-all-digits-with-characters-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"mutable-list-for-string-mutation","truth_value":"IN","reason":"premise"}]}}