1 | Introduction to Bit Manipulation [Theory] |  |  | | | |
2 | Check if the i-th bit is set or not |  |  | | | |
3 | Check if a number is odd or not |  |  | | | |
4 | Check if a number is power of 2 or not |  |  |  | | |
5 | Count the number of set bits |  |  | | | |
6 | Set/Unset the rightmost unset bit |  |  | | | |
7 | Swap two numbers |  |  | | | |
8 | Divide two integers without using multiplication, division and mod operator |  |  |  | | |