zip-truncates-silently-on-length-mismatch

Status: IN

`min_moves_to_seat` uses `zip(sorted(seats), sorted(students))` — if the two lists differ in length, `zip` silently truncates to the shorter one, producing a wrong answer with no error.

Source: entries/2026/06/06/minimum-number-of-moves-to-seat-everyone-solution.md

JSON