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.
yes, the tests in this kata are very bad. almost as bad as your ability to read the instructions
Good job, now try to solve it again with no temporary arrays :)
This comment is hidden because it contains spoiler information about the solution
I'm glad u enjoyed it 😊
You can solve kata in different languages. That won't affect your honor or your overall rank, but that will increase the rank for those languages, yes. XFRXLP is talking about trying solutions of other users in the language you already solved (and so, to not try them in the trainer but to use the fork panel)
Some readings about rank/honor
No, but don't copy/paste the solutions in the trainer. Incase, if you want to analyse the solution, click on "Fork" and then "Run".
You might want ot read this again, it has been updated a couple of hours ago. In new kata,
Test
should not be used, as it was superseded by Mocha and Chai.Latter can do the job, right?
If not, you can do:
const Test = require("@codewars/test-compat");
(I've never created a kata, but I usually see
Test.
being used in Node < 10 versions)Check these out:
https://docs.codewars.com/authoring/guidelines/
https://github.com/codewars/codewars.com/wiki/Languages-and-Test-Frameworks
(click on language in which you wanna create kata -> click on testing framework link)