Problem 594. "Look and say" sequence
Solution Stats
Problem Comments
-
4 Comments
Test suite case 3 seems to be incorrect.
yeah, test case 3 should be [1 1 2 3 1 1 1 5 2 2] by my calculation
Sorry about that. Cut and paste fail.
Test case 3 is still incorrect.
Solution Comments
-
1 Comment
I tried solving this in MATLAB & it gave correct answer for the 3rd test suite also
Problem Recent Solvers171
Suggested Problems
-
6501 Solvers
-
239 Solvers
-
1471 Solvers
-
Find a subset that divides the vector into equal halves
360 Solvers
-
5551 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!