摘要: You are given a large integer represented as an integer array digits, where each digits[i] is the ith digit of the integer. The digits are ordered fro 阅读全文
posted @ 2014-11-06 17:01 Grandyang 阅读(22264) 评论(2) 推荐(0)
摘要: You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb 阅读全文
posted @ 2014-11-06 16:09 Grandyang 阅读(19393) 评论(16) 推荐(0)
Fork me on GitHub