Bit Manipulation

Maximum Product of Word Lengths

Given an array of strings, return the maximum value of the product of lengths where two words do not share any common letters.

Read

Sum of Two Integers without Arithmetic Operators

Add two integers without using Arithmetic Operators.

Read

Find One Missing Number in a Range

Given an array containing n distinct integers in the range [0, n], one number is missing from the array. Find the missing number.

Read

Count the Number of Set Bits for Every Number from 0 to n

Given a number n, count the number of 1's in the binary representation of each number from 0 to n.

Read

Number of Differing Bits

Given two integers count the number of positions where there bit representation differ.

Read