{"id":"string-normalization-over-int-conversion","text":"`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).","truth_value":"IN","source":"entries/2026/06/06/number-of-different-integers-in-a-string-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"string-normalization-over-int-conversion","truth_value":"IN","reason":"premise"}]}}