This problem requires more test cases. My solution as many others would fail for a case in which the searched substring is not ordered.
732 Solvers
Project Euler: Problem 9, Pythagorean numbers
282 Solvers
169 Solvers
Is this triangle right-angled?
2394 Solvers
96 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!