Reverse Bits
Reverse bits of a given 32 bits unsigned integer.
Reverse Bits

Reverse bits of a given 32 bits unsigned integer.

Example 1:
Input: 43261596
Output: 964176192
Input
arr =43261596

Reverse each bit position

n

43261596

000028001024100120010016000112111081001411000
Variables
VariableValue
n43261596
DepthFunction Call
Stack empty
0/9