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.
"Your task is to build a function that appends a string to a array."
should be "to an array"
Nice solution. I had the same layout with the tests but I didn't think to use a fn to resolve the undefined, just tried (x|0) in place and it didn't work :-x Awesome, this is why I love this site.
AWESOME kata. Thanks a lot. I was stunned that there weren're more tests... things that might trip up hacky parsing; or at least some larger tests to give some satisfaction :-) I'd appreciate anyone's feedback on my solution, as wel.
Now that I see test 25... :-O
I've only solved four or five 4kyu problems at this point, but IMO the last test I can see (timesFive) pushes this into 3 territory. One man's opinion.
This comment is hidden because it contains spoiler information about the solution
Might it make sense to reduce the number of tests run? At 500, if you leave a log output for anything, it times out. Wouldn't 50 tests work just as well as a proof?
Could you explain how this works, or why it works, or how you thought of it?
I mean, I'd love to upvote this, but I don't understand it :-)
Does anyone else feel like this is too inherently complicated to be a 7kyu problem? Sure, the syntax and the technicality of coding it might not be very complicated in the end, but it requires real critical thought, and I expect (not having yet tried it) a lot of iteration after trial and error.
I mean, in the last 7kyu I implemented Array.prototype.sum() and such. Now I'm finding the optimal solution for Towers of Hanoi?!
I was expecting to find an answer like this after I submitted my 50 line solution. Excellent, thanks a lot!
Noticed this today: http://gifx.co/4JrD
I think adjusting the posiiton or adding margin to account for it would resolve. Alos, the [x] button has a hover issue, seen in the same gif above.