Category
Level
Digit DP counts integers in a range by scanning digits from most significant to least while maintaining compact state information.