array = [1 10 100 1 10 1 10 100 1 10 100 1];
in test 18, this is false, I think it should true,and you?
The way I interpret it, the last (partial) segment in the sequence <1 10 100 1 10> <1 10 100 1 10> <100 1 ... does not match the expected pattern. The other alternative, sequence <1 10 100 1 10 1 10 100> <1 10 100 1...> has a correct partial match but it does not include a pattern that is repeated at least once...
thanks,I see
1600 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
320 Solvers
Unique values without using UNIQUE function
171 Solvers
2556 Solvers
Write a function man that takes a row vector v and returns a matrix H as follows..
440 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!