• Custom User Avatar

    Since durations are integers, the result is a fraction and could be returned as a Fraction instance instead of percentage float.

    Very nice Kata btw.

  • Custom User Avatar

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

  • Custom User Avatar

    Hi,

    What's the point with the link in the description? (see the comment in my solution, also)
    This leads to a very poor kata, imo.

    • Those using the info have nothing to do
    • Those trying to actually solve the kata will hit a wall, thinking they are facing a 5 kyu while it's at least 3 kyu without the link (it's harder than "Bribe the Guards of the Crown Jewels")

    If you decide to keep it, removing that info, tell me so that I remove all the rank suggestions.

    Cheers

  • Custom User Avatar

    Sample tests are significantly harder than actual submit tests, running in about 10s for the solution everyone is using whilst submit tests only take 2-3s.

  • Custom User Avatar

    Hi,

    Looking at some of the current solutions, I have a feeling that there are no (or not enough) cases like Q..x.y., where the y piece is hidden by the x one. Using various strategies like swapping the board, or the pieces, you should be able to catch most of the implementations that do not consider this (ie: that could catch y instead of x)

    Cheers

  • Custom User Avatar

    Now let's create a kata for B... oh, wait

  • Custom User Avatar

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

  • Custom User Avatar

    This comment has been reported as abusive

  • Custom User Avatar

    ( JS )

    Random tests runtimes vary wildly. Try to generate more consistently distributed sizes.

  • Custom User Avatar

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

  • Custom User Avatar

    I got different results in my local IDE and on Codewars using the same inputs and code. Did I overlook something here?

  • Custom User Avatar

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

  • Custom User Avatar

    It might be a good idea to change the expected output from bad values of n from empty collections to None/null/Option(I think?) in Python/JS/Java for future maintainability reasons. Should be possible to preserve old solutions as well.

  • Custom User Avatar

    If we need to return two sets of equal sum, wouldn't it be more appropriate to return the two sets as, well, sets instead of lists?

  • Custom User Avatar
  • Loading more items...