Problem 359. Back to basics 14 - Keywords
Solution Stats
Problem Comments
-
1 Comment
David Verrelli
on 6 Nov 2017
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.
Solution Comments
Show commentsProblem Recent Solvers442
Suggested Problems
-
3321 Solvers
-
Remove the small words from a list of words.
1304 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
2761 Solvers
-
Back to basics 25 - Valid variable names
318 Solvers
-
Create a vector whose elements depend on the previous element
574 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!