Ad
  • Custom User Avatar
  • Custom User Avatar

    Thanks for feedback. Could you share the discord link?

  • Custom User Avatar

    Your random tests are vulnerable to input modification ( I could not submit, but I think you can still see my solution by clicking under this comment ), and your submit test suite is missing fixed tests ( should have had the example tests as a section of the submit tests ).

    This would [ very probably ] have been pointed out if you had posted a link to Discord#reviewing before publishing.

    In general, the idea was apparently ( somewhat ) better than the previous one, but still not good enough. Inviting the use of eval in solutions is often frowned upon as well.

    If people don't subtitle their vote, it's impossible to know for sure what killed the kata, but you're still dropping the ball on a number of things people could have told you in advance.

  • Custom User Avatar

    I would suggest not immediately publishing the new one, and posting the direct link to the unpublished kata in Discord#reviewing, so people can give their opinion on whether or not it is sufficiently novel.

    Ehm, if the new one was Count bots, this advice was too late. Just know it's an option if you should want to try again.

  • 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

    It's not just about the exact story of the kata, it's also about how to solve it. Simple map, filter, reduce operations are the basis of many, many kata.

    I wasn't really raising the "duplicate" issue; I was just telling you why nobody liked it. It's nothing personal, it's just hard to come up with novel ideas and concepts when almost 10 000 things have already been done.

  • Custom User Avatar

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

  • Custom User Avatar

    This is not a novel idea.

  • Custom User Avatar

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

  • Custom User Avatar

    Just checking the available ?? 0 would be enough instead of divsion to NaN. Recipe will always have some vlaue I guess

  • Custom User Avatar

    It can be simpler. Like move Math.floor outside of the inner loop...

  • Custom User Avatar

    Fortunately JS handles division by zero :)

  • Custom User Avatar

    Ugh, those ternaries :)

  • Custom User Avatar

    Basically same as mine but all in one function.

  • Loading more items...