Popular repositories Loading
-
-
-
-
-
-
Create-bool-2
Create-bool-2 Publicfn is_palindrome(x: u32) -> bool #[test] fn test() { let data = [ (123, false), (121, true), (1221, true), ]; data .iter() .for_each(|(n, exp)| { assert_eq!(is_palindrome(*n), *exp); }); }
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.