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.
this is not currently reproducible, likely due to a change in either the code runner or the test framework
https://www.codewars.com/kata/reviews/580ebc2e4c311b834f000019/groups/580f48a4cdeba253b00000b0
Clarified in description
Passes that test now. Cool. Thanks so much.
I've just checked the description and this particular test indeed contradicted it. Reset the trainer and try your code again.
I can't see the tests. When I write the test according to the demands in the instructions, it's correct. There's no indication about how the input object should be modified. I'm left guessing what the issue could be.
What's wrong? How should it be tweaked? Why? All tests are correct, and expect you to modify the input object.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Description updated
Not an issue
I can't submit my answer although it says all test cases passes...
--- Edit: found out why.
You say, "Your mission is simple: write a function that takes an integer 'n'", but this is not correct. It does not take an integer 'n', it takes an integer n. (It's not a string.)
It would be swell if the edge cases were in the example with a little description of what we're trying to do. That would be most educational. I'm passing all the random tests, but obviously am not thinking of the edge cases.
I'm getting the same issue with your solution, which is strange. I need to sit with your solution for a minute and see wha might be going on there, but I fear it might be something wierd on codewar's end.
Loading more items...