It would be better if the solution didn't contain the answer. Also, in the problem statement you should probably specify that the keywords must be sorted alphabetically (and appear only once each). Otherwise a cell array such as {'if', 'for', 'else', ...} would satisfy the problem statement, but fail the Test Suite — as demonstrated in Solution 1329165.
Reverse the Words (not letters) of a String
298 Solvers
Back to basics 25 - Valid variable names
294 Solvers
544 Solvers
Who is the smartest MATLAB programmer?
565 Solvers
Celsius to Fahrenheit converter
396 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!