Not really my solution... just a slightly cheating version of @bmtran's.
28586 Solvers
406 Solvers
221 Solvers
Find the stride of the longest skip sequence
106 Solvers
573 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!