Open hobovsky opened 1 year ago
What's bad about all of the kata in this group is that none of them clearly defines what "remove" means: should one of the arrays be modified, or should inputs be left untouched, and a new array be returned? It's not specified, and not tested, in any of the discussed kata.
I think that the kata 1. should go away. It's a duplicate of 2. with additional terrible setup in some languages (and in JS it's plain broken).
I am not sure what to do with kata 2. and 3. I think it's not necessary to have both, and I would like to have only the "performance" version, but amount of languages of both differs wildly. Kata 3. is also spoiled with solutions already submitted to 2. I don't know what would be the best:
In any case, get rid of 1, yeah
3:
Each element
x
in both arrays is integer and0 ≤ x ≤ 25
.
Increase array sizes so that more general solutions from the other katas time out?
Related to #152
vote for retire 1 and 3, keep 2
From #39
Remove All The Marked Elements of a List
Array.diff
Array.diff hero