A program concatenated all positive integers of an array into a single string s with no separators.
Every integer in the original array met the following conditions:
The value was between k inclusive.
The value did not contain any leading zeros.
Given the string s and the integer k, return the total number of valid arrays that could have formed s. Since the answer may be large, return it modulo
Constraints:
s.length
s consists of only digits and does not contain leading zeros.
k
A program concatenated all positive integers of an array into a single string s with no separators.
Every integer in the original array met the following conditions:
The value was between k inclusive.
The value did not contain any leading zeros.
Given the string s and the integer k, return the total number of valid arrays that could have formed s. Since the answer may be large, return it modulo
Constraints:
s.length
s consists of only digits and does not contain leading zeros.
k