Number Complement

Number of Steps to Reduce a Number to Zero

Explain x & (-x)

April 15, 2022 · 1 min ·  Tags List of tags for the post   bits ·  Last updated: Aug 2, 2025

Count number of bits to be flipped to convert A to B

Determine if a string has all unique characters

Find the nearest numbers that have same number of 1s for an integer

April 3, 2022 · 4 min ·  Tags List of tags for the post   ctci ·  bits ·  Last updated: Aug 2, 2025

Set all bits of a number in a range equal to another number

April 3, 2022 · 4 min ·  Tags List of tags for the post   ctci ·  bits ·  Last updated: Aug 2, 2025

Swap odd and even bits in an integer

This site uses cookies to improve your experience on our website. By using and continuing to navigate this website, you accept this. Privacy Policy