摘要:
题目: You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to guess what the number is. Each 阅读全文
posted @ 2016-08-10 11:17
绵绵思远道
阅读(212)
评论(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 @ 2016-08-10 10:49
绵绵思远道
阅读(110)
评论(0)
推荐(0)
摘要:
题目: Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), r 阅读全文
posted @ 2016-08-10 10:44
绵绵思远道
阅读(94)
评论(0)
推荐(0)
浙公网安备 33010602011771号