2016年4月7日

9. Palindrome Number (考虑负数的情况)

摘要: Determine whether an integer is a palindrome. Do this without extra space. 阅读全文

posted @ 2016-04-07 18:22 joannae 阅读(123) 评论(0) 推荐(0)

8. String to Integer (整数的溢出)

摘要: Implement atoi to convert a string to an integer. If no valid conversion could be performed, a zero value is returned. If the correct value is out of 阅读全文

posted @ 2016-04-07 18:15 joannae 阅读(209) 评论(0) 推荐(0)

7. Reverse Integer (整数的溢出)

摘要: Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 For the purpose of this problem, assume that your function 阅读全文

posted @ 2016-04-07 09:12 joannae 阅读(178) 评论(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 pattern in a fixed font 阅读全文

posted @ 2016-04-07 07:14 joannae 阅读(166) 评论(0) 推荐(0)

导航