Status: IN
`to_hex` special-cases zero with an early return because the digit-extraction loop requires `num > 0` to execute; without the guard, zero input produces an empty string.
Source: entries/2026/06/06/convert-a-number-to-hexadecimal-solution.md