摘要: 题目地址:https://leetcode.com/problems/bitwise-and-of-numbers-range/题目解析:参考https://leetcode.com/problems/number-of-1-bits/,我们知道n&n-1为n和n-1两者左边相同的部分,那么容易得到... 阅读全文
posted @ 2015-04-18 23:25 buptubuntu 阅读(196) 评论(0) 推荐(0)