摘要:        
题目:判断一个数是不是回文数Determine whether an integer is a palindrome. Do this without extra space.思路:借助上一道求整数逆序的思路,判断逆序后的数和原数是否相等就行。要注意,负数都不是回文数11506 / 11506 te...    阅读全文
posted @ 2015-06-23 17:32
疾风剑
阅读(126)
评论(0)
推荐(0)
        
            
        
        
摘要:        
题目:Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321思路:递归解答:1032 / 1032 test cases passed.Status: AcceptedRunt...    阅读全文
posted @ 2015-06-23 16:59
疾风剑
阅读(151)
评论(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 @ 2015-06-23 11:31
疾风剑
阅读(214)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号