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.
Thank you for the most helpful comment. You must be a god in development.
very inefficient
+1 very readable and digestible
you mean 'teaches?'
That's exactly the contrary : it learns you how to debug !
Except in roguelike games.
Thanks!
This is a solid 7kyu kata. Upvoted for release out of beta.
Well, it was significant enough so the tests passed :P O(n) vs O(n^2) is quite significant TBH...
I'm confident it's the author's decision to forbid solutions with multiple loops, otherwise it could even be 8kyu. I can see the argument it could be 6kyu with perfomance constraints, but other users voted for 7kyu and it got approved as 7kyu (author can't change it). Also, there are many other katas, even 7kyu where simple approach will time out, on purpose, so downvoting based on that reason seems a bit unfair. (but you're entitled to that opinion)
This comment is hidden because it contains spoiler information about the solution
But isn't that what you just did, and passed??
That's a pretty BS reason for something that the author can't control.
Kata timed out for simple list comprehension. Should be able to apply simple list comprehension for a 7kyu and not expect performance hits. Rate a None for satisfaction.
Fair enough. I've added a non-integer sample test to the Javascript and Python translations to avoid any doubt on that point. In the other (statically typed) languages, it's already clear that the coordinates needn't be integral.
The description and test cases lead one to believe these will be integer points. You should be clear of expected input which is NOT just integers.
Reasonable...
Approved katas aren't gonna change, for the most part.
Loading more items...