Sum of Reversed Number
Anonymous User
3516

Let's define the reverse of an integer x as the number obtained by reversing the order of the digits of x and then moving any leading zeroes to the end of the resulting number.

Tests
Input:
arr: [7, 234, 58100]
Expected Output:
7 + 432+ 18500 = 18939

Input:
arr: [0, 100, 220]
Expected Output:
0 + 100 + 220 = 320

Comments (1)