short-string-returns-zero-naturally

Status: IN

Strings shorter than 3 characters produce an empty `range(len(s) - 2)`, so `countGoodSubstrings` returns 0 without any special-case code

Source: entries/2026/06/06/substrings-of-size-three-with-distinct-characters-solution.md

JSON