goat-latin-assumes-nonempty-words

Status: IN

The function accesses `word[0]` without a length check, relying on the LeetCode guarantee that the input contains no empty tokens from splitting

Source: entries/2026/06/06/goat-latin-solution.md

JSON