190. 颠倒二进制位
题目描述class Solution:
# @param n, an integer
# @return an integer
def reverseBits(self, n):
res = 0
count = 32
while count:
res = 1 # n右移,为下个循环提供最低位
count -= 1
return res