That was quite a Piece of work!!
would fail on d=10; x=1; y_correct=0.2
I have improved the test suite
Given an unsigned integer x, find the largest y by rearranging the bits in x
799 Solvers
Return unique values without sorting
599 Solvers
Multiples of a Number in a Given Range
222 Solvers
265 Solvers
79 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!