This solution takes advantage of the limited test cases where the maximum length of repeated segments is <= 2.
This solution is actually incorrect (but passes the test suite).
1966 Solvers
Sort numbers by outside digits
128 Solvers
343 Solvers
Create a two dimensional zero matrix
355 Solvers
Solving Quadratic Equations (Version 1)
427 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!