This problem requires more test cases. My solution as many others would fail for a case in which the searched substring is not ordered.
253 Solvers
Eliminate Polysyllabics: Long live short words!
48 Solvers
3245 Solvers
253 Solvers
2590 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!