Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I did it in kata editor, but will do fork next time.
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
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.
updated to nodev18
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.
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.
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.
Needs update to current Node version.
I am marking the issue as resolved, becuase Codewars comunity obviously like the Kata. Over 1000 times solved in Beta, with 93% satisfactory.
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.
Change the "var" in the description to "let".
Intent was apparently to filter falsy values. It has apparently missed
false
,-0
andNaN
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 ).
Sounds good. It should probably be an 8 kyu kata, which are always useful.
Not going to invalidate 1920 solutions.
Instead, removed comment in sample tests.
That part of the description is gone, and that comment in the sample tests (at least) is gone too.
Loading more items...