Given a string of numerical digits num, determine the number of possible lists of positive integers that can be formed by splitting num such that the following conditions are met:
No integer in the sequence contains leading zeros.
The integers appear in nondecreasing order, meaning each integer is greater than or equal to the integer before it.
Since the total count may be very large, return the result modulo
Constraints:
num.length
num consists of digits from
Given a string of numerical digits num, determine the number of possible lists of positive integers that can be formed by splitting num such that the following conditions are met:
No integer in the sequence contains leading zeros.
The integers appear in nondecreasing order, meaning each integer is greater than or equal to the integer before it.
Since the total count may be very large, return the result modulo
Constraints:
num.length
num consists of digits from