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 comments
Loading...
Problem Recent Solvers1707
Suggested Problems
-
Find the peak 3n+1 sequence value
2573 Solvers
-
Project Euler: Problem 5, Smallest multiple
1681 Solvers
-
660 Solvers
-
542 Solvers
-
13283 Solvers
More from this Author56
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!