摘要: 题目: 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 yo 阅读全文
posted @ 2016-06-14 10:56 panini 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 题目: Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 链接: http://leetcode.com/problems/add-b 阅读全文
posted @ 2016-06-14 08:58 panini 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 题目: 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 阅读全文
posted @ 2016-06-14 08:24 panini 阅读(180) 评论(0) 推荐(0) 编辑