box-lin / miniblog

https://bboxlin.github.io/miniblog/
MIT License
0 stars 0 forks source link

Bit Manipulation #5

Open box-lin opened 1 year ago

box-lin commented 1 year ago

n & (n-1) = n with flip the least significant 1 to 0

191. Number of 1 Bits