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 comment is hidden because it contains spoiler information about the solution
Fixed
I would not consider this a suggestion. I would consider this an issue.
This comment is hidden because it contains spoiler information about the solution
Firstly, the instruction is clear about those are forbidden no matter where in your code. If you can access
'+'
in any other ways, then doing so will be allowed.Secondly, built-in object methods are still available. But to access them, you need to figure out some ways apart from calling by them
.
.Should you have any question, feel free to ask me then.
Happy coding! :D
And also that Built-in Object methods are made unavailable.
Maybe specify that string versions and comments will not be accepted either, eg '+' not allowed as well as +.
Javascript random cases will sometimes require the preservation of -0 and error for some solutions. Maybe this should not be an issue to come up on an 8 kyu? I recommend using true 0 in those cases, or testing deep equality using ===.
This comment is hidden because it contains spoiler information about the solution
Thanks for the feedback.
Indeed, the simplest algo shouldn't pass, so I increased the number of tests. Current solutions should now time out, while the reference solution finished under 10s.
I'm not sure I understand you correctly, but I cannot provide a JS version, until somebody translates it.
Could you open up the Beta to JavaScript? Python's on the docket, but I'm not there yet.