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 Solvers1609
Suggested Problems
-
9141 Solvers
-
Find the peak 3n+1 sequence value
2565 Solvers
-
3401 Solvers
-
Project Euler: Problem 5, Smallest multiple
1648 Solvers
-
Double all elements in the array
2151 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!