{"id":"running-min-before-diff","text":"In the maximum-difference solution, `min_val` is updated after the difference check within each loop iteration, guaranteeing the minimum always originates from an index strictly less than `j`.","truth_value":"IN","source":"entries/2026/06/06/maximum-difference-between-increasing-elements-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"running-min-before-diff","truth_value":"IN","reason":"premise"}]}}