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