string-normalization-over-int-conversion

Status: IN

`num_different_integers` normalizes leading zeros via `str.lstrip('0')` instead of `int()` conversion, keeping the solution safe for digit sequences that could exceed typical numeric ranges (LeetCode allows up to 200-digit sequences).

Source: entries/2026/06/06/number-of-different-integers-in-a-string-solution.md

JSON