Given integers low, high, zero, and one, you can construct a string starting from an empty string by repeatedly applying one of the following operations:
Append the character '0' written zero times.
Append the character '1' written one times.
A string is considered good if its length is between low and high inclusive.
Return the total number of different good strings that can be formed. Since the answer can be large, return it modulo
Constraints:
low high
zero, one low
Given integers low, high, zero, and one, you can construct a string starting from an empty string by repeatedly applying one of the following operations:
Append the character '0' written zero times.
Append the character '1' written one times.
A string is considered good if its length is between low and high inclusive.
Return the total number of different good strings that can be formed. Since the answer can be large, return it modulo
Constraints:
low high
zero, one low