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.
Fixed in all languages.
JavaScript version is working fine.
This doesn't seem to be an issue currently.
Not a kata issue.
Looks like it's your own code problem.
Not a issue, it's a question.
Also, have you even read the test inputs before filing a issue? It shows pretty clearly your code fails for
n<1
.I'm not sure why you think it is incorrect. Maybe it has been updated since your comment but it seemed to function fine for me.
This comment is hidden because it contains spoiler information about the solution
I really wish, I'd read your comment an hour ago! :/
I would say a little of both.
It is bad practise not have example tests in a Kata. Unless it's a puzzle Kata and the tests reveal the answer.
But there's also codewars' rule of locking the test cases after 500 submissions. So, authors and contributors can't really fix these.
Try submit instead of run tests.
The same thing as on the other kata here. No test cases = "Unknown Error". Try submit.
That's working correctly.
Did you get "Unknown Error" or "Submission timeout". Because those are usually not related to a problem in your code, being caused by connectivity problems or lack of test cases.
"Run Tests" in this kata will give Unknown error, because there are no tests to run. Use submit instead.
This comment is hidden because it contains spoiler information about the solution