Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Needs random tests
Your fixed tests does not consider the case where there will be two consecutive blocks together (e.g
3141 => 1111111
).This is not a valid inversal of look-and-say numbers.
This "modified" kata does not make any sense: The previous sequence is always ambiguious (e.g
112
can mean11 2s
or2 11s
).Almost a duplicate:
http://www.codewars.com/kata/look-and-say-numbers
http://www.codewars.com/kata/the-look-and-say-sequence
http://www.codewars.com/kata/conways-look-and-say-generalized
http://www.codewars.com/kata/look-and-say-numbers-1