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.
Man, I hate to be rude, but this kata is just loaded with issues.
First off, the instructions are extremely difficult to understand. They should be re-written. It's impressive that you can write coding problems in a language that is not your first language, but based on the way the kata is written, this should not have been approved.
Second, the random test cases, do not show you which cases are failing, and this makes it extremely difficult to debug my code.
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
Approved
Updated Python translation kumited, including new test framework, corrected function name and updated test suite -- please check and approve
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.
Clean solution, but you're running the loop again every time on a.includes(-e), so the complexity is O(n)^2.
Cool solution, but pretty inefficient because you're cutting two new arrays at each index.
This is getting labelled as clever, but I really think this is the best es6 solution I've seen.
Can someone explain how this works?
I see this as great ES6!
Loading more items...