Unfortunately the FFT based solution using a binary expansion of 'n' won't be Cody-optimal :-)
Extract leading non-zero digit
1206 Solvers
687 Solvers
Return unique values without sorting
589 Solvers
966 Solvers
111 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!