
跳格子
文章平均质量分 62
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 45. Jump Game II(跳格子)
原题网址:https://leetcode.com/problems/jump-game-ii/Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents you原创 2016-05-21 04:41:57 · 1572 阅读 · 0 评论 -
LeetCode 55. Jump Game(跳格子)
原题网址:https://leetcode.com/problems/jump-game/Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your m原创 2016-05-21 07:04:28 · 1021 阅读 · 0 评论 -
LeetCode 70. Climbing Stairs(爬楼梯)
原题网址:https://leetcode.com/problems/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原创 2016-05-22 00:05:13 · 466 阅读 · 0 评论 -
LeetCode 91. Decode Ways(解码方法)
原题网址:https://leetcode.com/problems/decode-ways/A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an enco原创 2016-05-23 00:42:32 · 2606 阅读 · 1 评论