摘要: Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. Example:Given a = 1 and b = 2, return 3. 翻译 给两个数 a 和 b 阅读全文
posted @ 2016-11-05 10:13 Bita 阅读(102) 评论(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 @ 2016-11-05 09:42 Bita 阅读(129) 评论(0) 推荐(0)