Available question text
Count how many integers in the inclusive range [num1, num2] (given as strings) have a digit-sum between min_sum and max_sum; this is solved with digit-DP over the string bounds tracking the running digit sum (≤400) and tight states, returning the result modulo 1e9+7.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2719. Count of Integers
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source