Additional test cases have been added.
I like this solution ! Simple and easy to read.
it took me quite a while to figure this one out.your coding thought keep stunning me.amazing idea!
Using forward&backward compare,don't see that before,awesome.
Extract leading non-zero digit
1205 Solvers
3376 Solvers
386 Solvers
184 Solvers
Find nearest prime number less than input number
268 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!