
Python
Kelly Fu
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Reverse Integer
Reverse Integer Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: Input: 120 Output: 21 Note: Assume w...原创 2018-09-23 22:46:56 · 169 阅读 · 0 评论 -
Rotate String
Rotate String We 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 · 252 阅读 · 0 评论 -
Palindrome Number
Palindrome Number Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Input: 121 Output: true Example 2: Input: -121 Outp...原创 2018-09-30 21:49:56 · 123 阅读 · 0 评论 -
Two Sum
Two Sum Given 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 · 139 阅读 · 0 评论