early-exit-bounds-diffs

Status: IN

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

Source: entries/2026/06/06/check-if-one-string-swap-can-make-strings-equal-solution.md

JSON