A
.B
starting after A
and less than the remaining string length.A
and B
do not have leading zeroes unless they are zero.sequence
with A
and B
.sequence
to get C
.
b. Check if the remaining string starts with C
.
c. If it does, append C
to sequence
and continue.
d. If not, break the loop and try a new pair of A
and B
.sequence
.