Reverse Bits

Given a 32-bit unsigned integer n, reverse all its bits and return the resulting integer. The bits are read from the binary representation of n, reversed, and then interpreted as a new number.

Examples
Input: 43261596
Output: 964176192
Hints
Related Problems

Reverse Bits

Given a 32-bit unsigned integer n, reverse all its bits and return the resulting integer. The bits are read from the binary representation of n, reversed, and then interpreted as a new number.