umdreamer / leetcodeproblems

Solutions for LeetCode OJ
3 stars 9 forks source link

2023.5.5 Problem: 9. Palindrome Number #5

Closed umdreamer closed 1 year ago

umdreamer commented 1 year ago
  1. Palindrome Number Problem Link

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.

Example 3:

Input: x = 10
Output: false
Explanation: Reads 01 from right to left. Therefore it is not a palindrome.
yeyuxq commented 1 year ago

image

ZWJ2212061008 commented 1 year ago

image

huangyumei1 commented 1 year ago

QQ图片20230505163158

bedauern commented 1 year ago
Snipaste_2023-05-05_16-32-11
shylieisme commented 1 year ago

FZ~6E9B7N$1`0498~0P70R0

mafanjia commented 1 year ago

截屏2

sjh397 commented 1 year ago

联想截图_20230505164143

PinkyLame commented 1 year ago

12

liu-si-han commented 1 year ago
image
zhjingyan commented 1 year ago

image

12baoxingyu-6 commented 1 year ago

image

tangyexi commented 1 year ago
屏幕截图 2023-05-05 165947
123lrb commented 1 year ago

IDT(Q(S~6}$JZXV)KKPQ~66

xkqwww commented 1 year ago

无标题

daowuwu commented 1 year ago

V08NAZ{BSU_9UG6Q2T}KF2U

htywan commented 1 year ago

2

686xiaozhang commented 1 year ago

QQ截图20230505180822

promisewith7 commented 1 year ago

image

1125766961 commented 1 year ago

image

zxm-1235 commented 1 year ago

image

gusuning commented 1 year ago
屏幕截图 2023-05-05 190349
qby962464 commented 1 year ago

Snipaste_2023-05-05_19-15-41

FXL1006 commented 1 year ago
屏幕截图 2023-05-05 191812
liuhuanyu6 commented 1 year ago

image

xiaolu2002 commented 1 year ago

image

cuixiao02 commented 1 year ago
截屏2023-05-05 19 33 36
foxbou commented 1 year ago

DG{WOR~PX(1U(KW 9K$5N7E

Lggg1234 commented 1 year ago

屏幕截图 2023-05-05 194450

naqianqpg commented 1 year ago

~Q3I$7RM G_O5T_310_3GSE

24zlx commented 1 year ago

联想截图_20230505202405

zangfushuo commented 1 year ago
截屏2023-05-04 19 44 22的副本
zyhzxy99 commented 1 year ago

DP)RZF8_T2` 5FE57~VVZ6K

syr2212061031 commented 1 year ago

3_~EDJ%J)J3RSVD2@4A{4OR

naqianqpg commented 1 year ago

~Q3I$7RM G_O5T_310_3GSE