摘要: Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return... 阅读全文
posted @ 2015-03-14 22:20 BestWangJie 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 题目就是:Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight).For example, the 32-... 阅读全文
posted @ 2015-03-14 21:33 BestWangJie 阅读(116) 评论(0) 推荐(0) 编辑