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.
More of a logic problem than a coding challenge.
I think it's called numerical sequences in Math.
if x = '.......c.m', x.length is more than 5 and as per your logic answer is 'Escaped!' while in truth it should be 'Caught!' because the cat can jump upto 3 characters
This exposes a weakness in the tests. The logic is actually incorrect as other commenters have noted.
I did the exact same thing, lol