摘要: Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321解法一:public class Solution { public int reverse(int x) { ... 阅读全文
posted @ 2015-01-28 22:34 mrpod2g 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 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 fo... 阅读全文
posted @ 2015-01-28 18:23 mrpod2g 阅读(152) 评论(0) 推荐(0) 编辑