Status: IN
`length_of_last_word` assumes `s` contains at least one word; passing an empty or all-whitespace string raises `IndexError` from `split()[-1]`.
Source: entries/2026/06/06/length-of-last-word-solution.md
JSON