Print binary representation of a decimal number

April 14, 2023 · 4 min · TagsList of tags for the post  ctci ·  bits

Subsets 1 Problem

Add Binary Strings

Single Number 1 - All elements except one occur twice

Find missing integer in an array with only access to jth bit of elements

November 30, 2022 · 2 min · TagsList of tags for the post  ctci ·  integer ·  bits

Single Number 3 - All elements except two occur twice

Explain (n & (n-1)) == 0

August 23, 2022 · 1 min · TagsList of tags for the post  ctci ·  bits

Power of Two Problem

x&(x-1) Explained

Number of 1 Bits Problem

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