Given a non-negative integer n, reverse all 32 bits of its binary representation and return the resulting integer.
For example, the 32-bit representation of 13 is 00000000000000000000000000001101. Reversing gives 10110000000000000000000000000000, which is 2952790016.
Treat the input as an unsigned 32-bit integer.
n = 132952790016n = 43261596964176192n = 000 <= n <= 2^32 - 1The input is treated as a 32-bit unsigned integerRun your code to see results
Use Cmd+Enter to run