Status: IN
`second_highest` collects digits into a set bounded at 10 elements (digits 0–9), so all set and `max()` operations are O(1) regardless of input string length.
Source: entries/2026/06/06/second-largest-digit-in-a-string-solution.md
JSON