摘要: Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: Example 3: 阅读全文
posted @ 2018-12-20 00:33 Schwifty 阅读(143) 评论(0) 推荐(0)
摘要: Write a function that takes a string as input and returns the string reversed. Example 1: Input: "hello" Output: "olleh" Example 2: Input: "A man, a p 阅读全文
posted @ 2018-12-20 00:16 Schwifty 阅读(120) 评论(0) 推荐(0)