I've looked at some interview questions and they required heavy bit manipulations. Could anyone please recommend a good book that would allow me to polish my skills in bit manipulation ? (from beginner to intermediate/advanced) with good exercises to pratice ?
+1
A:
To be honest, I don't know if a book is the best way to do this (and I don't know of a book solely on this).
There are however some great tutorials / examples out there. Example:
- Working with the
BitArray
- C# Bit Manipulation by Example
- Great Stackoverflow Post - Most common C# bitwise operations - Has more links as well
Kyle Rozendo
2010-09-04 08:38:36
+3
A:
The book "Hackers Delight" apparently has a LOT of detail on bit manipulation. Might be too advanced though.
Laurion Burchall
2010-09-04 08:47:27
+1 I love this book. :)
Stephen Cleary
2010-09-04 11:04:16
A:
Have a look at Chapter 1 of the free book "Matters Computational". The chapter name is "Bit wizardry", and it contains about 100 pages.
Another excellent book is Addison Wesley - Hacker's Delight 2002 (The name is quite misleading)
Mastering it, it would be hard to tackle you.
Lior Kogan
2010-09-08 13:45:32