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.
Python translation available. Please review and approve :)
Happy coding
^_^
Hi myjinxin2015. As an amatuer and self-taught programmer, I'm really enjoying this series that you've put together. This was originally a question but I figured out the solution so I'll change it to say that #18 was my favorite so far because it was the most challenging.
Thanks for the suggestion. I think I will put this one away for a little while.
Seems O(n^2) to me.
Nested loops will timeout, yes. If you can't solve it and as you said you're still new to programming, do more katas (easier ones) first. This one will stump you and naive solutions won't pass because of the performance requirements.
This comment is hidden because it contains spoiler information about the solution
Thank you, it worked now. :-)
Because all the lists in the dictionary are the same object. When you change the same object, of course they're all changed ;-)
I just fixed it. Please try again ;-)
Fixed. JS version were vulnerable to input modification.
Fixed. JS version were vulnerable to input modification.
Fixed. JS version were vulnerable to input modification.
I have the same issue with the random tests mentioned months ago. Will this be fixed or should I just give this Kata up as a lost cause?
I enjoyed this Kata. It was an intersting challenge on parsing within a certain set of rules. Any Kata where I finished having learned a little more about how to use the language is a good one and this was just that.
Loading more items...