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 Solvers1687
Suggested Problems
-
530 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1283 Solvers
-
665 Solvers
-
2336 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1867 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!