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.
My brain must be myjinxined after solving a few hundred of his Kata's.
I perfectly understood what he meant. :-D
It's not pretty, I know.
JS tests un-myjinxined
Published Feb 20, 2017
Considering the age it's honestly not as bad as it could be. There's WAY worse old kata out there. Though yes it is still terrible lol.
Not a kata issue, user function is mutating the values used for generating error messages. Added protection against this for the future.
This comment is hidden because it contains spoiler information about the solution
There are some non-space-chars in unicode that have no any visualisation.
And you can give a name to identifier with such char.
For example u115F.
Agreed
That's on purpose. Not an issue.
Just submit my solution to clarify it:
As you can see, my solution passed all the tests using 868ms
So, there is no design flaw in this kata :]
Protip: the performance overhead isn't going to be in the prime checking. You should look elsewhere in your code ;-)
Are you trying to say your solution is so good it just can't be inefficient?
This comment is hidden because it contains spoiler information about the solution
for whatever little it's worth, just looking at what you've pasted above it does indeed look like Johan Liebert should be the winner here. Obviously I can't speak to other things that might have gone wrong in the process