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 agree. The kata lacks specifications. For example we don't know what should be done with non-alpha-numeric characters, it's not enough with removing them (and this is not even in the description). There is a margin between giving the code and asking the user to play charades from the random tests results to understand what must be done: The description should clearly state all requirements the user is expected to fulfill to complete the kata.
I disagree: the difficulty of the problem does not lie in discovering these rules, but rather implementing a solution to filter them. I had a solution that followed every rule showed in the description and sample problems, yet it didn't pass simply because some new rules were introduced in the hidden tests. I then painfully spent some minutes figuring out what hidden rules the hidden tests were expecting, which imo took some fun from the problem, which is quite nice.
I don't feel that as an issue; the best thing to do would be a complete explanation... or to give the code:-) Don't you think that a bit of work is needed for a 5 kyu.
The problem description is lacking some things: the double-space behavior (i.e. consecutive whitespace isn't allowed for the address), a list of "junk" characters (which from the attempts I guess they're
?$/,;*:
, although some could be missing), that_
should be replaced with a single space, etc.Great kata! I think it would be helpful to list the punctuation marks explicitly (the given test cases don't contain any, it could also be helpful to add an extra case), which by the hidden tests seem to be
.,;"'?!
.Not an issue
Thanks for comment!
I've tried to clear up the instructions a bit to make things clearer.
After completing the challenge (I've been struggling for some hours) I see you forgot to add a key feature. Remember each year three chickens are added, and you haven't taken that into account.
I feel like the instructions could be more clear especially with the order of the events, but cool kata!
You have far too many tests for this problem. I don't think the difficulty of this problem even fits 8 kyu begginers
This comment is hidden because it contains spoiler information about the solution