In the last test, it is written "y-correct" instead of "y_correct".
You should add tests with words that contain letters repeated more than two times.
Am extremely sorry for that.Thanks for that.I edited it now.Thanks alot Beltramini
Hmmm.... I just realised why this passed, whereas Solution 1570787 doesn't.
Find the longest sequence of 1's in a binary sequence.
3370 Solvers
1601 Solvers
The Hitchhiker's Guide to MATLAB
2874 Solvers
347 Solvers
559 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!