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.
actually it accepts e-mails which are against requirments from the description. It is written that 'All characters between the first character and the @ (if any) must be letters, numbers, or underscores", your solution allows for example: a-@a.a, which is not valid according to the description.
I would add some negative test cases, for example according to the description there should not be hyphen before @, but many solutions allows hyphen in the first part.
returns false for valid JoJo strings: Joaaa Jo, Gio Gio.
it returns true even for strings which are not JoJo, for example "abcd abcd".
it returns true even for strings which are not JoJo, for example "jorg aajobb".
tests do not cover all possible results, wich are in this case finite. That's why inccorect solutions pass the kata. Information about the categories should be in the description, because text in wikipedia can change.
too trivial
This comment is hidden because it contains spoiler information about the solution
Yesterday I've completed BrainF**ck REPL (2 kyu) and I got 2 honor points :O If I understood correctly http://www.codewars.com/users/sokolek/site-events the purple katas are worth nine points?
This comment is hidden because it contains spoiler information about the solution
I know that it could be irittating, because similiar solutions passed (in the past) all tests, but in the description there is no information how functions should be transformed. In other words - you can't blame the kata if bad solution does not pass tests.
nice, I missed information about two dimensional space.
Information that the solution could have constant memory complexity should be added. I choose the simplest solution because it worked and was accepted, but when I saw how it could be done, I can't pull myself together.