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?
2199 Solvers
Number of 1s in the Binary Representation of a Number
359 Solvers
Back to basics 6 - Column Vector
914 Solvers
181 Solvers
244 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!