## Sum of Number and Its Reverse solution leetcode

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.*

**Example 1:**

Input:num = 443Output:trueExplanation:172 + 271 = 443 so we return true.

## Sum of Number and Its Reverse solution leetcode

Input:num = 63Output:falseExplanation:63 cannot be expressed as the sum of a non-negative integer and its reverse so we return false.

**Example 3:**

Input:num = 181Output:trueExplanation:140 + 041 = 181 so we return true. Note that when a number is reversed, there may be leading zeros.

## Sum of Number and Its Reverse solution leetcode

**Constraints:**

`0 <= num <= 10`

^{5}