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
-
26687 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2106 Solvers
-
Compute a dot product of two vectors x and y
977 Solvers
-
583 Solvers
-
The Answer to Life, the Universe, and Everything
519 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!