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.
Hey, thanks!
Yes, indeed, we shouldn't modify the input. I should have thought of that!
Yes. Any recursive function will give a stackoverflow when there's too much recursion.
Indeed, it's not the best solution in here. but it's different :), what's the point of writing the same 'while' or 'for' as everyone else.
Works great ! Thanks:)
I hope it's the right place to post this.
Can you show more solutions on the kata's solution page? It's kind of annoying to not be able to see the latest solutions. I want to post simple and elegant solutions (after spending time on refactoring the older ones), but I am not able to do this, because my solution will never be visible to anyone.
Maybe a quick fix is to remove all the invalid kata solutions. For example, on this page http://www.codewars.com/dojo/katas/51675d17e0c1bed195000001/javascript half of them are invald solutions.