1
impl Solution {
2
pub fn is_palindrome(x: i32) -> bool {
3
return x.to_string().chars().rev().eq(x.to_string().chars());
4
}
5
}

0

WPM •0 •0

100%

ACC •0 •0

0s

TIME •0