I forgot, the "ans" trick when I ran the test function, so *** it is still possible to make it with size 12 and take the lead! ***
does the word "a" in the second test suite not meet the requirements?
That's a good point. It does not, because I assumed words to be at least two letters, but I should put this information in the statement!
\\s* should be replaced by [\\w-]*
tHE BEST ONE!
1160 Solvers
309 Solvers
Reverse the elements of an array
688 Solvers
219 Solvers
421 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!