Ad
  • Custom User Avatar

    There are lots of good case to use splice.
    For example, remove or replace some items in specific index.
    But you choose the one, that remove multi specific items?

  • Custom User Avatar

    Unpublishing as an old, abandoned kata of a low quality.

  • Custom User Avatar

    You're not even enforcing the use of splice.

    Check this solution out, as well as my own solution.

  • Custom User Avatar

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

  • Custom User Avatar

    This kata is terrible by design. There's no point in using a method modifying the array AND returning the same array as the result of the operation (on success the result is an array, but on failure it's boolean - great idea). Because of this senseless decision filter is also forbidden as "it allows you to solve the task in a way that was not intended" (this is not even mentioned in the description).

  • Custom User Avatar

    Please add random tests.

  • Custom User Avatar

    I can't believe it. :(

  • Custom User Avatar

    Great comment.

  • Custom User Avatar
    1. you can dig in, if you have access to the edit panel (note that it will discarf all gains for you, in any languages after using the edit panel) and you can make changes. But note that:
    • with a lot of completions (as it is here), it's not a good idea to invalidate a lot of solutions unless it is to correct an enormous flaw in the kata logic
    • with a so low satisfaction rate, for a "so low" rank average and so many completions, this kata will never be approved, so...
    • if it would to be approved and the original author isn't active anymore, nobody will be able to approve other translations (..."yet". Maybe that rule will change in the future, it's an often made request)
    1. some kata spend several years in beta (but normally, these are harder than this one... ;) ) so the dates are not a concern.

    If you have an improved version in mind, that is not a duplicate of another already existing kata, maybe you could post a new kata on your own...

    (actually, what CW lacks too is moderators who would be able to unpublish old/low quality katas that are still in beta... :/ )

  • Custom User Avatar

    Whenever I see katas like this, I always wonder what the codewars policy say about editing katas that is not yours!

    1. Can I just dive in and change (or improve) the concept? (Of course this will almost all the time lead to all previous solutions becoming invalid).
    2. When you look at the Issues reported, you see some dating back to several years (3 years in the case of this particular kata) does it mean these katas should just be left alone?
  • Custom User Avatar

    I've never used CoffeeScript before, but I trust that you've tested it so I'll be happy to add your translation. Wow, I haven't been on Codewars for a few months, but I'm glad to see so many people liked the kata.

  • Custom User Avatar

    Hi, I've added a CoffeeScript translation, if you want to approve it, instructions for the approval process are here.

  • Custom User Avatar

    I am sorry, but this Kata does not force you to use any language related features ..... IMO, it should be changed.

  • Custom User Avatar

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

  • Custom User Avatar

    The absolute worst part is the w3schools link at the end, though.

  • Loading more items...