Status: IN
The three-part boundary condition (`j >= len(words)`, `i >= len(words[j])`, character mismatch) both enforces the word-square invariant and prevents all `IndexError` scenarios in a single expression.
Source: entries/2026/06/06/valid-word-square-solution.md
JSON