Math, asked by jayantikam3622, 11 months ago

Dividing a sequence in two parts such that their sum is minimum

Answers

Answered by Anonymous
0
Input: N = 35 Output: 17 35 = 9 + 26 SumOfDigits(26) = 8, SumOfDigits(9) = 9 So, 17 is the answer. Input: N = 7 Output: 7
Similar questions