x&(x-1) Explained

August 23, 2022 · 4 min · TagsList of tags for the post  bits ·  explained ·  video ·  Last updated: Sep 30, 2025

Number of 1 Bits

Swap two number in place without temporary variables

August 11, 2022 · 10 min · TagsList of tags for the post  ctci ·  bits ·  number ·  moderate ·  xor ·  Last updated: Oct 15, 2025

Generate All Strings of n bits

Check If an Integer's Bit Representation Is a Palindrome

August 7, 2022 · 4 min · TagsList of tags for the post  integer ·  bits ·  palindrome ·  Last updated: Oct 12, 2025

Number Complement

Number of Steps to Reduce a Number to Zero

Explain x & (-x)

April 15, 2022 · 1 min · TagsList 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

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