Skip to content
#

palindrome

Here are 52 public repositories matching this topic...

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 left to right, it reads -121. From right to left, it becomes 121-. Therefore it is not a palindrome.

  • Updated Jan 9, 2023
  • Python

Improve this page

Add a description, image, and links to the palindrome topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the palindrome topic, visit your repo's landing page and select "manage topics."

Learn more