terminal
Elevo
/
ESC
Login
Initiate Registration
code
Topics
corporate_fare
Companies
history
History
arrow_back
Back to Challenges
#9
Palindrome Number
Easy
Acceptance 0%
Editorial
description
Problem Description
Given an integer `x`, return `true` if `x` is a palindrome, and `false` otherwise. An integer is a palindrome when it reads the same forward and backward. For example, `121` is a palindrome while `123` is not.
checklist
Constraints
-2^31 <= x <= 2^31 - 1
science
Examples
Case #1
In:
x = 121
Out:
true
Case #2
In:
x = -121
Out:
false
Case #3
In:
x = 10
Out:
false
Mastery Tags
Math
Hiring Companies
Adobe
Amazon
Apple
code
Integrated IDE
Python 3
expand_more
C
C++ 17
Java
JavaScript
Python 3
C
C++ 17
Java
JavaScript
Python 3
refresh
class Solution: def isPalindrome(self, x: int) -> bool: # Write your solution here pass
Login to Compile
Processing
terminal
Debug Output
home
Home
extension
Practice
robot_2
login
Sign In
account_circle
Menu
code_blocks
Coding
psychology
Aptitude
Navigation
close
Login
Registration