Ad
  • Custom User Avatar

    I did it in kata editor, but will do fork next time.

  • Custom User Avatar

    We don't need another lame, trival, low quality kata that does the same thing... --> https://www.codewars.com/kata/search/my-languages?q=filter&order_by=sort_date%20desc

    I might as well post another wall of filtering based katas that I have collected (not done yet) here later to give some form of insights @glovastefan

  • Custom User Avatar

    Out of interest, how did you update the kata?

    If you directly edited it in the kata editor, please know that forking is ( now ) the recommended method.

  • Custom User Avatar

    updated to nodev18

  • Default User Avatar

    why not List Filtering?

    Because so what if the items to be filtered differ? I could just as easily create a new kata tomorrow that asks to only filter [odd numbers and any string with the letter 'z'] or whatever. And the next day one with [even numbers and any string with the letter 'a'], ad infinitum.

  • Custom User Avatar

    Johan is right. I upvoted this kata a long time ago, but I can't recall the reason for doing so. Johan's comment from 2 years ago does make me wonder whether the specification is even complete.

  • Custom User Avatar

    The community is not always right. This may still be a duplicate ( though it would be nice to have a link ), which would be reason for unpublication, the kata still being in Beta.

  • Custom User Avatar

    Needs update to current Node version.

  • Custom User Avatar

    I am marking the issue as resolved, becuase Codewars comunity obviously like the Kata. Over 1000 times solved in Beta, with 93% satisfactory.

  • Default User Avatar

    Very easy as compared to other 7 KYU on this site for Python. Not sure about the complexity in other languages on which the rating was decided.

  • Custom User Avatar

    Change the "var" in the description to "let".

  • Custom User Avatar

    Intent was apparently to filter falsy values. It has apparently missed false, -0 and NaN since creation.

    There is now also 0n, so the kata is now ignoring fully half of existing falsy values. ( So are some, though not all, solutions. )

    It is unspecified what to do about sparse arrays, which might be considered a special case of arrays with falsy values ( but that's probably solidly out of scope anyway ).

  • Custom User Avatar

    Sounds good. It should probably be an 8 kyu kata, which are always useful.

  • Custom User Avatar

    Not going to invalidate 1920 solutions.

    Instead, removed comment in sample tests.

  • Custom User Avatar

    That part of the description is gone, and that comment in the sample tests (at least) is gone too.

  • Loading more items...