Ad
  • Custom User Avatar

    Thank you for the most helpful comment. You must be a god in development.

  • Custom User Avatar
  • Custom User Avatar

    +1 very readable and digestible

  • Custom User Avatar

    you mean 'teaches?'

  • Custom User Avatar

    That's exactly the contrary : it learns you how to debug !

  • Custom User Avatar

    Except in roguelike games.

  • Custom User Avatar
  • Custom User Avatar

    This is a solid 7kyu kata. Upvoted for release out of beta.

  • Custom User Avatar

    which passed, but should not be the great of a performance gain

    Well, it was significant enough so the tests passed :P O(n) vs O(n^2) is quite significant TBH...

    Whether it is the author or the test server is irrelevent.

    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)

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Kata timed out for simple list comprehension.

    But isn't that what you just did, and passed??

    Should be able to apply simple list comprehension for a 7kyu and not expect performance hits. Rate a None for satisfaction.

    That's a pretty BS reason for something that the author can't control.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Custom User Avatar

    Reasonable...

    Approved katas aren't gonna change, for the most part.

  • Loading more items...