Leetcode Problem 9 Solution: Checking Palindrome Numbers
Given an integer x, return true if x is a palindrome and false otherwise.
Example 1:
Input: x = 121
Output: true
Explanation: 121 reads as 121 from left to right and from right to left.
Example 2:
Input: x = -121
Output: false
Explanation: From lef...
vishad.hashnode.dev3 min read