Ad
  • Default User Avatar

    Obstacle events when the door is not moving are odd and only happen in a few recent translations. I would prefer to fix the translations rather than consider this behaviour acceptable and update the description.

  • Custom User Avatar

    Yeah, I know what you are saying -- the reason my Katas normally do not have a "performance" requirement is because IMO that then tends to make all solutions just variations of the same algorithm or some maths trick (which only some people might know).

    So I prefer to get many kinds of solutions (some good, some terrible) because it is interesting to see how other people think. Also, I think it is better to let everybody have a chance to solve the Kata, so when they see other solutions they can think "Oh, THAT is what I should have done!" -- IMO that is kind of the whole point of Codewars. YMMV.

    Of course, in the real world performance really is important, so kudos to you if you wrote some efficient solution which also deals with huge input. Hopefully, other people will recognize it and mark it as "Best Practice".