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
-
Replace Nonzero Numbers with 1
374 Solvers
-
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
936 Solvers
-
477 Solvers
-
6101 Solvers
-
1270 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!