{"id":"early-exit-bounds-diffs","text":"The `len(diffs) > 2` guard inside the loop guarantees that `diffs` has at most 2 elements when the post-loop branches execute, making the final match safe without bounds checking","truth_value":"IN","source":"entries/2026/06/06/check-if-one-string-swap-can-make-strings-equal-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"early-exit-bounds-diffs","truth_value":"IN","reason":"premise"}]}}