Ad
  • Custom User Avatar

    Maybe this one is recent, but it looks to me like the best solution in terms of both clarity and performance.

  • Custom User Avatar

    btw I love this kata.

  • Custom User Avatar

    In one of your test cases, you have "CLERJERER". Should that be "CLERJER"?

  • Custom User Avatar

    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.

  • Custom User Avatar

    Nice kata, but this could definitely do with more description of how a fibonacci clock works.

  • Custom User Avatar

    I love this solution. So short and easy to read.

  • Custom User Avatar

    I love this solution. Terse, but readable.

  • Custom User Avatar

    I love this one. Couldn't be simpler.

  • Custom User Avatar

    I love it. A great 8 kyu-level problem. A couple of minor quibbles:

    Your description gives examples like:

     wordsearch(prince) 
    

    where prince appears to be an undefined variable. You probably mean:

    wordsearch('prince') 
    

    Also--and this is hardly worth mentioning--in your solution template you use the argument n to represent a word. Conventionally n implies a number. You might want to use w or word instead.

  • Custom User Avatar

    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.

  • Custom User Avatar

    I like this kata. Codewars needs more super-simple 8 kyu katas for complete beginners. A bit more explanation might be helpful.