I've seen the numerous questions about counting the number of set bits in an insert type of
input, but why is it useful?
For those looking for algorithms about bit counting, look here:
- http://stackoverflow.com/questions/1517848/counting-common-bits-in-a-sequence-of-unsigned-longs
- http://stackoverflow.com/questions/472325/fastest-way-to-count-number-of-bit-transitions-in-an-unsigned-int
- http://stackoverflow.com/questions/109023/best-algorithm-to-count-the-number-of-set-bits-in-a-32-bit-integer