Given a string of digits, determine whether it is a 'sum--string'. A string S is called a
sum--string if a rightmost substring can be written as sum of two substrings before it and
the same is recursively true for substrings before it.
input :
12243660
output:
true
explanation :
12 + 24 = 36 and 24 + 36 = 60
input:
1111112223
output :
true
Answers
Answered by
0
Answer:
I don't know sorry byeeeeeeee
Similar questions