摘要:
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 cl 阅读全文
posted @ 2018-07-15 18:03
Lin.B
阅读(116)
评论(0)
推荐(0)
摘要:
Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. Example: Given nums = [-2, 0, 3, -5, 2, -1] sumR 阅读全文
posted @ 2018-07-15 17:32
Lin.B
阅读(104)
评论(0)
推荐(0)
摘要:
House RobberⅠ You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constrai 阅读全文
posted @ 2018-07-15 17:02
Lin.B
阅读(127)
评论(0)
推荐(0)
摘要:
Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and r 阅读全文
posted @ 2018-07-15 15:19
Lin.B
阅读(97)
评论(0)
推荐(0)

浙公网安备 33010602011771号