发布时间:2016-03-31 21:14:34
iven 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 num = 5 you should return [0,1,1,2,1,2].Follow up:It is .........【阅读全文】