Palindrome Number - LC9
Question
Read the Question here Click Here
Input: x = 121
Output: true
Explanation: 121 reads as 121 from left to right and from right to left.
Answer
class Solution {
public:
bool isPalindrome(int x) {
int oldNum=x;
int newNum=0...
jyotirmoy.hashnode.dev3 min read