leetcode
cathryn0131
这个作者很懒,什么都没留下…
展开
-
欢迎使用CSDN-markdown编辑器
Number of 1 Bits 问题 思路 代码 性能分析 问题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-bit integer ’11’ has bi原创 2015-03-10 15:24:39 · 195 阅读 · 0 评论 -
文章标题
reverse bitsReverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return 964176192 (represented in binary as 00原创 2015-03-11 15:42:49 · 213 阅读 · 0 评论