This problem requires more test cases. My solution as many others would fail for a case in which the searched substring is not ordered.
It dseon't mettar waht oedrr the lrettes in a wrod are.
652 Solvers
Back to basics 6 - Column Vector
908 Solvers
Rotate and display numbered tile
239 Solvers
390 Solvers
255 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!