most-common-word-no-empty-guard

Status: IN

`mostCommonWord` raises `IndexError` if every word is banned or the paragraph has no alphabetic characters — there is no guard on an empty `Counter`, relying on LeetCode's guarantee of a valid answer.

Source: entries/2026/06/06/most-common-word-solution.md

JSON