Is the test suite broken? The first line sets the input to 141221242 for all of the tests.
It worked fine with me. Maybe it was fixed.
The first test case has been updated to not have global scope.
Given an unsigned integer x, find the largest y by rearranging the bits in x
801 Solvers
Back to basics 8 - Matrix Diagonals
788 Solvers
Get the length of a given vector
3769 Solvers
442 Solvers
266 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!