Bit Twiddling Hacks
Most interviews will have some sort of bit manipulation questions.
Knowing some basic bit manipulation results will help solve them quicker.
It is like knowing standard rules. There are many resources online.Â
The best i know is http://graphics.stanford.edu/~seander/bithacks.html#BitReverseObvious
My suggestion would be to use C to solve these bit manipulation questions.
Java may  trouble you with unsigned data types.










