Math, asked by kancharlaanil96, 2 days ago

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 antara150341
0

Answer:

I don't know sorry byeeeeeeee

Similar questions