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 Solvers1711
Suggested Problems
-
Calculate the Levenshtein distance between two strings
1515 Solvers
-
Given two arrays, find the maximum overlap
1817 Solvers
-
How many trades represent all the profit?
620 Solvers
-
Find the dimensions of a matrix
570 Solvers
-
Find the max element of the array
2348 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!