I have been trying to learn about bits and first place to learn about them is Wikipedia, so I read about it.
I have been preparing for the interviews where I see lot of questions which are solved with bit tricks/manipulations/shift
Few examples are
- if number is power of 2
- arithmetic operations without using arithmetic operators
There are also places where XOR is very useful. when is XOR useful?
I want to learn how can we apply such tricks in problem solving and what are the good signs when looking at the problem itself, one must say "it could be done with bits"
I worked mostly on Java/Python/Perl and hardly practiced them while writing code
But I want to learn it now .. better late than never :)