Problem 108. Given an unsigned integer x, find the largest y by rearranging the bits in x

Solution 393150

Submitted on 29 Jan 2014 by Sourabh
  • Size: 10
  • This is the leading solution.
This solution is locked. To view this solution, you need to solve the problem first.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!