Bit Manipulation
Master bitwise operations and binary manipulation techniques.
Find Missing Number (1 to n)
Find the missing number in an array containing n distinct numbers taken from 1, 2, 3, ..., n+1
Missing Number
Find the missing number in an array containing n distinct numbers taken from 0, 1, 2, ..., n.
Power of Two
Check if a given integer is a power of two.
Reverse Bits
Reverse the bits of a given 32-bit unsigned integer.
Single Number
Find the single number that appears once in an array where every other number appears twice.