Problem Description
Reverse the bits of an 32 bit unsigned integer A.
0 <= A <= 232
First and only argument of input contains an integer A.
Return a single unsigned integer denoting the decimal value of reversed bits.
Input 1:
0
Input 2:
3
Output 1:
0
Output 2:
3221225472
Explanation 1:
00000000000000000000000000000000
=> 00000000000000000000000000000000
Explanation 2:
00000000000000000000000000000011 => 11000000000000000000000000000000
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.