MATLAB Cody - MATLAB Central

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

Difficulty:Rate

Solution 1865017

Submitted on 4 Jul 2019 by Michal Belorit
This solution is locked. To view this solution, you need to solve the problem first.

Suggested Problems

More from this Author100

Community Treasure Hunt

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

Start Hunting!
Go to top of page