rightmost-odd-digit-determines-answer

Status: IN

In `largest-odd-number-in-string/solution.py`, the largest odd substring is always the prefix `num[:k+1]` where `k` is the rightmost odd digit's index — this holds because no-leading-zeros guarantees longer prefixes are numerically larger

Source: entries/2026/06/06/largest-odd-number-in-string-solution.md

JSON