Nice!
It's a shock that I didn't know such a function existed
Better than all previous non-cheat solutions :-)
You might wanna check it again ;)
The function 'unique' should probably also be prohibited.
Strictly following the problem statement, this should pass?
This also does the trick :)
Given an unsigned integer x, find the largest y by rearranging the bits in x
783 Solvers
1425 Solvers
2552 Solvers
Matlab Basics - Convert a row vector to a column vector
426 Solvers
Find the Oldest Person in a Room
5220 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!