Search
⌘K

Leetcode 2443. Sum of Number and Its Reverse

Check whether a non-negative integer num can be written as x + reverse(x) for some non-negative integer x (the reverse may include leading zeros). With num ≤ 10^5 this is typically solved by searching possible x values or reasoning about digit-wise carries.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.