Pedagogic solution is available in position 2 (commented, same as solution 1 but more explicit thus suboptimal).
89 Solvers
28 Solvers
Find the stride of the longest skip sequence
106 Solvers
22 Solvers
62 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!