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.
It makes sense that if a new Song object is instantiated that it would start with no listeners yet.
The description should clarify that a speed of 30 or more Kph above the speed limit results in the addition of a $500 fine. As it reads now it indicates that a speed in excess of 30 Kph above the speed limit (but not at 30) results in the added fine. If you follow the instructions as they are right now your tests will fail.
This comment is hidden because it contains spoiler information about the solution
Loved this Kata! Easy on the coding and a thinker on the math.
Glad to see some exception handling in here for practice! Nice touch. On that note, consider changing the description to exclude "n and m are natural numbers (positive integers)" because that informs the coder what to expect and what not to expect. Even though it is suggested in the example, it is contradictory in the description. Really liked seeing this one, though. Giving this a "Very"! :)
Forgive me for giving half a care about the content on this site.
Apparently that is the case in Java. lol There was a nice explanation in the comments before. I guess the admins deleted it but it did explain nulls for this kata really well.
Not sure why but this solution didn't work for me. This is what I had and the test result failed saying something like "for input 10011010010" and nothing else. Copy/paste of the above code did the same thing. ???
For Java the "expected" and "but was" are reversed.
sampleTest
Log
1
2
3
4
5
expected: but was:
This has not yet been fixed.
"VERY"! LOL chef's kiss
I kind of wish there was another rating available of "COMPLETELY" in addition to the "VERY", "SOMEWHAT" and "NONE" options. I really am "VERY" satisfied with this kata but with a description update I would most certainly rate it "COMPLETELY" instead.
Great kata! Once I understood what I was supposed to do it was smooth sailing. The description was a bit confusing and the test cases only made it more confusing. I had to peek at the Discourse to find what was expected.
I would highly recommend adding to the description that a bird may call out any number of "ha" or "Ha" in a row before the next bird calls out and no bird will call out more than once in each set.
The first is sort hinted at in the description but could be much more clear. The second is not at all addressed and also helps to further clarify the first.
Great kata! This was fun.
Oh neat. Never looked past the promotions for other kata on that page.
I guess the colors of the kyu are a better indication of the level of difficulty.
Loading more items...