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.
added a test to invalidate those solutions
Then try this other kata: https://www.codewars.com/kata/569651a2d6a620b72e000059, but you can only do it (right now) in C# or Ruby.
Yup I also think it would be nice if this kata failed for solutions which rely on behavior of
object.operator==
.Understanding where the warning comes from is a nice way to learn why in C# searching for a string by comparison with
operator==
works if haystack isstring[]
, but does not work if haystack isobject[]
, but still works if needle is a string literal.