I have no idea which of those are geese. I was half expecting the random tests to fail with a whole new bunch of geese names not covered in the description. Thankfully, not the case.
It's not really that hard. Clear instructions:
You have a list of geese already made.
You just remove any item common in the geese list and the array to be filtered you get.
That's it?
Did anybody else notice how really weird and bone chillingly creepy the test case's string combos are?
["a","Dog","Of","Food"]
["Beg","Life","I","Too"]
["","Moderately","Brains","Pizza]
Like what in the world, straight out of Stephen King novel
I have no idea which of those are geese. I was half expecting the random tests to fail with a whole new bunch of geese names not covered in the description. Thankfully, not the case.
missing fixed tests for js
Scala translation
Enabled in this fork
Lua translation!
forked and approved
I found the discription a bit hard at first, but then I understood it.
Haskell translation
This exercise taught me a lot of other related functions, super useful.
It's not really that hard. Clear instructions:
You have a list of geese already made.
You just remove any item common in the geese list and the array to be filtered you get.
That's it?
edit button under comment
Using
remove
on lists while iterating through them with afor
loop can cause parts of the list to be skipped, which is what's happening in your code.Needs better instructions.
Did anybody else notice how really weird and bone chillingly creepy the test case's string combos are?
["a","Dog","Of","Food"]
["Beg","Life","I","Too"]
["","Moderately","Brains","Pizza]
Like what in the world, straight out of Stephen King novel
I wouldn't say it's an 8th-level kata
Loading more items...