- 博客(3)
- 收藏
- 关注
原创 【LeetCode-322】Coin Change
原题: You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up that amount. If that amount
2016-04-01 17:50:58
245
原创 【LeetCode-330】Patching Array
原题: Given a sorted positive integer array nums and an integer n, add/patch elements to the array such that any number in range [1, n] inclusive can be formed by the sum of some elements in the
2016-03-30 22:46:04
1058
原创 【LeetCode-338】 Counting Bits
原题: 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 return them as an array. Example: For
2016-03-30 22:09:19
277
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人