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
If you ain't using 3 loops, you ain't trying!
HashSet
This comment is hidden because it contains spoiler information about the solution
like and share your views
It could, but it won't throw an error, JavaScript doesn't care.
x/0 = Infinity
and0/0 = NaN
.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
was it fixed? I have few tests failed
an example
90 * 100 = 9000 => 90 riders should be but expected 100
Thanks for a great kata! Concise, clear and enjoyable :)
Thank you for this, I learned something new!
Loading more items...