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.
Maybe this one is recent, but it looks to me like the best solution in terms of both clarity and performance.
btw I love this kata.
In one of your test cases, you have "CLERJERER". Should that be "CLERJER"?
Minor point: your tests appear to be using 1s and 0s for the values of the 'damaged' keys, instead of true and false. This is enough of a difference to produce incorrect test outcomes in some cases.
Nice kata, but this could definitely do with more description of how a fibonacci clock works.
I love this solution. So short and easy to read.
I love this solution. Terse, but readable.
I love this one. Couldn't be simpler.
I love it. A great 8 kyu-level problem. A couple of minor quibbles:
Your description gives examples like:
where
prince
appears to be an undefined variable. You probably mean:Also--and this is hardly worth mentioning--in your solution template you use the argument
n
to represent a word. Conventionallyn
implies a number. You might want to usew
orword
instead.Nice kata. It might be worth adding a test case for Dog.bark() to make sure that the user has actually used the Object.prototype property to make the dogs bark.
I like this kata. Codewars needs more super-simple 8 kyu katas for complete beginners. A bit more explanation might be helpful.