For the test case :"10". Why is the answer "11" wrong? It is also the closest palindrome, isn't it?
I have the same question, both are closer to 10 by same amount since its abs of difference.????
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.