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.
In Java version the method signature has String type as agument of garden, but it should be char type.
Also there are random test cases which expect Dog return even though Crap scenario happens earlier in the input. It is not made clear in the description how to handle this case.
Otherwise i really enjoyed this one :)
This comment is hidden because it contains spoiler information about the solution
Couldn't this potentially cause issues if mpg is 0?
Very educational for me, thank you!
This one hurt my head. Thank you for the kata :D
Bumping the 8 year old suggestion to add test cases for empty Strings (Java).
Sometimes the answer is right in front of you... Looking at this makes me feel a bit silly about my solution :D
Thanks for a great kata! Concise, clear and enjoyable :)
Thank you for this, I learned something new!
This comment is hidden because it contains spoiler information about the solution
Works great! Thanks :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I'm sure others have pointed out this, but in Java version there are no test cases of strings containing "and", nor is it made clear in the description that we should expect "and". In fact the grammar in the description cases for returning 10 glasses of water is misleading and makes you believe that we should expect only "," to seperate the beverages.
Otherwise nice kata :)
This comment is hidden because it contains spoiler information about the solution
Loading more items...