Problem 42705. Is It a Snake?
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
Peng Liu
on 26 Jan 2016
Similar to Solution Solution 814072, this solution would fail a test with a = [2 1 1 1].
-
2 Comments
Alfonso Nieto-Castanon
on 26 Jan 2016
this solution would fail a test of the form a=[2 1 1 1];
Ned Gulley
on 27 Jan 2016
I added [2 1 1 1] as a test.
-
3 Comments
Brian Hannan
on 18 Jan 2016
This solution passes the test suite when I run it on my machine. Does anyone know why it would fail when I submit it to Cody? The online test suite shows only red X marks and does not provide any feedback.
Jan Orwat
on 19 Jan 2016
"padarray" comes from Image Processing Toolbox
Brian Hannan
on 20 Jan 2016
Thanks.
Problem Recent Solvers38
Suggested Problems
-
12071 Solvers
-
2460 Solvers
-
Remove the small words from a list of words.
1167 Solvers
-
554 Solvers
-
871 Solvers
More from this Author50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!