summaryrefslogtreecommitdiff
path: root/src/bin/p0009.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/p0009.rs')
-rw-r--r--src/bin/p0009.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/bin/p0009.rs b/src/bin/p0009.rs
deleted file mode 100644
index 4ecb473..0000000
--- a/src/bin/p0009.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-impl Solution {
- pub fn is_palindrome(x: i32) -> bool {
- if x < 0 {
- return false;
- }
- let s = x.to_string();
- let rs: String = s.chars().rev().collect();
- return s == rs;
- }
-}
-
-struct Solution {}
-fn main() {} \ No newline at end of file