Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
y=bench;
z=benchmark;
assert(abs(z(4)-y(4))<0.5)
|
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
Number of 1s in the Binary Representation of a Number
356 Solvers
187 Solvers
359 Solvers
2621 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!