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.
Replace NaNs with the number that appears to its left in the row.
2022 Solvers
164 Solvers
Convert from Base 10 to base 5
203 Solvers
463 Solvers
293 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!