You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a two's complement number system, x &= (x - 1) deletes the rightmost 1-bit in x.
Explain why.
Use this observation to write a faster version of bitcount.