Ad
  • Custom User Avatar

    Thanks for feedback. Could you share the discord link?

  • Custom User Avatar

    Made it more interested now?
    EDIT: never mind. deleted and made a new one

  • Custom User Avatar

    It's just my first kata. I made it simple and focus more on familiarize myself with the authoring tool. My next one is gonna be more interesting ig.

  • Custom User Avatar

    I found no diplicates. And for sure not for your level ;)

  • Custom User Avatar

    Approved

  • Custom User Avatar

    Just a description mistake, i meant 2p + 1, tests are correct. May I humbly ask you edit this description, if you have any remarks?

  • Custom User Avatar
  • Default User Avatar
  • Default User Avatar
  • Default User Avatar

    Frankly, it was not very effective as I wrote kata for the first time and I looked at the test logic from many places, but we can say that it was unsuccessful and yes, I will try to solve the test logic.

  • Custom User Avatar

    I don't get it, do I need to return undefined (as in sample tests) or null ..

  • Custom User Avatar

    Forgot to mark the solution as resolved...

  • Custom User Avatar

    Approved. Thanks for taking the time to translate this, I'm sure it wasn't the easiest.

    Not that it matter much, but I'm curious as to why the reference soluion and example are different or run at different times. Does the reference take advantage of already knowing where it ends or something?

    Also, nice one on giving the user more time, it's really annoying when you have to way 6 seconds for the reference solution to solve.

  • Custom User Avatar

    I tested it and it doesn't seem to be generating infinite generators.

    However, as you said, I'm not sure if it really is that big of a deal. Specifically hardcoding the fixed tests seems like much more work than it's worth and the infite part of the challenge isn't that big of a deal.

    So let's leave it be then. I also don't really feel like or have the time to be rewriting this right now. I'll approve your tranlation.

  • Custom User Avatar

    It's been 3 months, I don't really remeber my intentions, but I'm pretty sure that when I wrote maximum < 0, I meant maximum - minimum - first < 0.

    On the tests being overengineered. Yeah, they probably are, I couldn't find a better one at the time. But no, there's no good reason, it was what I found that worked.

    I could try to make it simpler or if you have something simpler in JS, I can translate it in Python before approving your translation.

  • Loading more items...