Soal
00:00

9. Palindrome Number

MudahMatematikaMicrosoft

Determine whether the integer x is a palindrome.

Contoh 1:

Input: x = 121
Output: true

Contoh 2:

Input: x = -121
Output: false

Batasan:

  • -2^31 <= x <= 2^31 - 1
Mode kode inti
● Tersimpan otomatisBaris 1, kolom 1