{"id":"length-of-last-word-no-empty-guard","text":"`length_of_last_word` assumes `s` contains at least one word; passing an empty or all-whitespace string raises `IndexError` from `split()[-1]`.","truth_value":"IN","source":"entries/2026/06/06/length-of-last-word-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"length-of-last-word-no-empty-guard","truth_value":"IN","reason":"premise"}]}}