Problem 1295. Bit Reversal
Given an unsigned integer x, convert it to binary with n bits, reverse the order of the bits, and convert it back to an integer.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers1395
Suggested Problems
-
Extract leading non-zero digit
2116 Solvers
-
Find nearest prime number less than input number
700 Solvers
-
Relative ratio of "1" in binary number
1379 Solvers
-
886 Solvers
-
1597 Solvers
More from this Author55
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!