Bit Manipulation
Bit Manipulation
Bit manipulation is used in a variety of problems. Sometimes, the question explicitly calls for bit manipulation. Other times, it's simply a useful technique to optimize your code.
Bit Facts and Tricks
OR
x | 0s = x
x | 1s = 1
x | x ...
ahmedgouda.hashnode.dev4 min read