摘要: Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321此题简单,但是需要考虑一些边界上的处理会在面试中加分。另外这里考虑了一下溢出处理 1 public static in... 阅读全文
posted @ 2016-01-19 21:22 酒仙桥吴彦祖 阅读(137) 评论(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 fo... 阅读全文
posted @ 2016-01-19 20:41 酒仙桥吴彦祖 阅读(150) 评论(0) 推荐(0)
摘要: 忧患意识,提升自己,不能在一家公司吊死,随时做好迎接高薪的准备。彦祖说做人不吃咸鱼,那和咸鱼有什么区别!今天开始刷Leetcode,每道题的思路会记录在博客里。天地为鉴! 阅读全文
posted @ 2016-01-19 19:32 酒仙桥吴彦祖 阅读(148) 评论(0) 推荐(0)