This was a fun problem, but I think lookup table solutions are possible given the way the way the test suite is configured. Maybe you could add a string parser to see if the test suite correct solutions are included in the answer code?
Find relatively common elements in matrix rows
873 Solvers
3000 Solvers
Increment a number, given its digits
564 Solvers
672 Solvers
231 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!