- 博客(4)
- 资源 (17)
- 收藏
- 关注
原创 Climbing Stairs
题目: You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? 思路:爬楼梯的问题,斐波那契数列,应该见过很多回了
2014-12-01 23:48:41 586
原创 Plus One
题目: Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is at the head of the list. 思路:简单的大数加法 class
2014-12-01 23:35:01 529
原创 Valid Palindrome
code: class Solution: # @param s, a string # @return a boolean def isPalindrome(self, s): zheng = '' fan = '' for i in s: if (i >= 'a' and i = 'A' and
2014-12-01 21:59:26 533
原创 Find Minimum in Rotated Sorted Array
Find Minimum in Rotated Sorted Array
2014-12-01 21:04:53 692
android触摸位置显示
2014-02-13
-LPC1788-SDK Example V1.0 Beta version LPC1788例程
2013-08-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人