Nice expression for the usage test. Maybe one can add function "dec2base", cause the return type is a String.
The problem description should mention that dec2base isn't allowed either.
This will fail to detect certain palindromes which contain zero e.g. 10101 however the test suite doesn't (yet) contain any such.
There's something strange with the Cody test suites today...
17542 Solvers
Back to basics 3 - Temp Directory
328 Solvers
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
140 Solvers
532 Solvers
Side of an equilateral triangle
2606 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!