Reverse Bits
Reverse bits of a given 32-bit unsigned integer represented as a binary string. Return the result as the unsigned integer in decimal form.
Reverse Bits

Reverse bits of a given 32-bit unsigned integer represented as a binary string. Return the result as the unsigned integer in decimal form.

Example 1:
Input: "00000010100101000001111010011100"
Output: 964176192
Input
arr ="00000010100101000001111010011100"

Reverse each bit position

n

43261596

000028001024100120010016000112111081001411000
Variables
VariableValue
n43261596
DepthFunction Call
Stack empty
0/9