Reverse Bits

Try solving the Reverse Bits problem.

Statement

Given an unsigned 32-bit integer n, we need to calculate a 32-bit unsigned integer with reversed bits. When we say “reverse” we don’t mean flipping the 0 ...

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy