Given a non-negative integer num, return true if num can be expressed as the sum of any non-negative integer and its reverse, or false otherwise.
Note: The reverse of an integer can contain leading zeros (for example, reversing
yields , which equals ).
Constraints:
num
Given a non-negative integer num, return true if num can be expressed as the sum of any non-negative integer and its reverse, or false otherwise.
Note: The reverse of an integer can contain leading zeros (for example, reversing
yields , which equals ).
Constraints:
num