2017年10月11日

回文数判断

摘要: Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) If you are thi 阅读全文

posted @ 2017-10-11 16:20 Peyton_Li 阅读(147) 评论(0) 推荐(0)

将字符串转换成整数

摘要: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below 阅读全文

posted @ 2017-10-11 15:22 Peyton_Li 阅读(201) 评论(0) 推荐(0)

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 pattern in a fixed font 阅读全文

posted @ 2017-10-11 00:02 Peyton_Li 阅读(139) 评论(0) 推荐(0)

导航