摘要: Description: Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2 阅读全文
posted @ 2018-08-16 17:26 双肩包码农 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Description: Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the fi 阅读全文
posted @ 2018-08-16 17:05 双肩包码农 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Description: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an environm 阅读全文
posted @ 2018-08-16 16:50 双肩包码农 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Description: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in 阅读全文
posted @ 2018-08-16 14:45 双肩包码农 阅读(76) 评论(0) 推荐(0) 编辑