Add bit manipulation questions (#72)

This commit is contained in:
Bingxu Ren
2017-10-20 21:38:34 -05:00
committed by Yangshun Tay
parent c16c7fcf47
commit 5c43799e57

View File

@ -0,0 +1,7 @@
Bit Manipulation
==
- How do you verify if an interger is a power of 2?
- Wirte a program to print the binary representation of an integer.
- Write a program to print out the number of 1 bits in a given integer.
- Write a program to determine the largest possible integer using the same number of 1 bits in a given number.