DEV Community

Discussion on: Algorithms Problem Solving: Reduce to zero

Collapse
 
friesischscott profile image
FriesischScott

Can you please explain what you mean by count the number of bits to make it zero? I like the idea but I can't figure out how to go from 1110 to 6 or 1000 to 4 like in the example.