Can someone explain to me why
and not [8,1]
Input [1,8] is the number 81, and  is number 0. Adding 81 + 0 should be 81 and it should be in reverse order. Check the problems output. So, reverse of 81 is 18.
81 + 0
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.