exact-consumption-invariant

Status: IN

`validWordAbbreviation` returns `True` only when both pointers `i` and `j` reach exactly the end of `word` and `abbr` respectively; partial consumption of either string is always `False`.

Source: entries/2026/06/06/valid-word-abbreviation-solution.md

JSON