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
820 Solvers
231 Solvers
Back to basics 9 - Indexed References
397 Solvers
609 Solvers
245 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!