随笔分类 -  LeetCode

每日一题
摘要:Determine whether an integer is a palindrome. Do this without extra space. 阅读全文
posted @ 2017-05-02 19:05 Kim_0908 阅读(140) 评论(0) 推荐(0)
摘要:Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 1 class Solution { 2 public: 3 int reverse(int x) { 4 int n 阅读全文
posted @ 2017-04-28 15:10 Kim_0908 阅读(109) 评论(0) 推荐(0)