![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
Kelly Fu
这个作者很懒,什么都没留下…
展开
-
Reverse Integer
Reverse IntegerGiven a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21Note:Assume w...原创 2018-09-23 22:46:56 · 140 阅读 · 0 评论 -
Rotate String
Rotate StringWe are given two strings, A and B.A shift on A consists of taking string A and moving the leftmost character to the rightmost position. For example, if A = ‘abcde’, then it will be ‘bcd...原创 2018-10-07 23:54:42 · 215 阅读 · 0 评论 -
Palindrome Number
Palindrome NumberDetermine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.Example 1:Input: 121Output: trueExample 2:Input: -121Outp...原创 2018-09-30 21:49:56 · 85 阅读 · 0 评论 -
Two Sum
Two SumGiven an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use ...原创 2018-09-16 00:47:03 · 108 阅读 · 0 评论