2018年4月6日

摘要: 9. Palindrome Number 题目: Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative 阅读全文

posted @ 2018-04-06 18:28 wangziyan 阅读(96) 评论(0) 推荐(0)

摘要: 题目: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an environment which 阅读全文

posted @ 2018-04-06 17:57 wangziyan 阅读(137) 评论(0) 推荐(0)

摘要: 6.ZigZag Conversion 题目: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this 阅读全文

posted @ 2018-04-06 17:17 wangziyan 阅读(188) 评论(0) 推荐(0)

摘要: 题目: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Example: 从对题目的理解来看,其实 阅读全文

posted @ 2018-04-06 15:11 wangziyan 阅读(140) 评论(0) 推荐(0)