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
-
3633 Solvers
-
Find state names that end with the letter A
1171 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2107 Solvers
-
Find nearest prime number less than input number
700 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1039 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!