{"id":"di-string-match-greedy-correctness","text":"Placing the current minimum on 'I' and current maximum on 'D' always produces a valid permutation without backtracking; correctness follows from the fact that any remaining unused value is strictly greater than the current min and strictly less than the current max.","truth_value":"IN","source":"entries/2026/06/06/di-string-match-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"di-string-match-greedy-correctness","truth_value":"IN","reason":"premise"}]}}