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?
2525 Solvers
841 Solvers
338 Solvers
Set the array elements whose value is 13 to 0
958 Solvers
215 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!