I'm trying to write a program called bitCount -
It returns the of number of 1's in word (32 bit word size)
Examples: bitCount(5) = 2, bitCount(7) = 3
Legal ops: ! ~ & ^ | + << >>
Max ops: 40
does anyone have any hints on this, it doesn't really make sense to me.