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 Solvers1608
Suggested Problems
-
Find relatively common elements in matrix rows
2149 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2533 Solvers
-
1749 Solvers
-
The sum of the numbers in the vector
640 Solvers
-
Calculate the average value of the elements in the array
1654 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!