Ad
  • Custom User Avatar

    Best thing about codewars is, it's so addictive. The moment you say you cannot be any better and it's impossible to solve this/that test case - but then in the next a few minutes you see a GREEN SUBMIT FINAL button in the corner.

  • Custom User Avatar

    Only got 1 Honor after solving this KATA ?????

  • Custom User Avatar

    This KATA harrased me literally, but I am glad that I reached to the next level.

  • Custom User Avatar

    I must say, the testing is very user-friendly. You can't have this amount of mercy in other online coding platforms.

  • Custom User Avatar

    Amazing question, best in 'Beginner' level. Great Job!

  • Custom User Avatar

    If not programming, these 7kyu problems teach us 'read questions properly'

  • Custom User Avatar

    I would say this particular KATA was not about the problem statement but the solution itself. Those who are familiar with object creation will instntly get to know what to change in the code - the rest can beat the head over the question.

  • Custom User Avatar

    In my case, I simply provided factorial which was unable to clear all the test cases. But then I kept a check if n > 8 then return 0; only then it was working. But I see the solutions of all, nobody seems to have that check. What's wrong!

  • Custom User Avatar

    No need to loop through the whole room-list, even using filter you can do what you wanted i.e.

    function roomMates( r, f ){
    return r.slice((f-1)6,f6).filter(function(x){return x;})
    }

  • Custom User Avatar

    I believe in this particular problem, the TEST CASES were empty by default. So if you try to RUN TESTS, it will give you error. It can be confusing for beginners.