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.
there is a test case where fly is slower than the train - it shouldn't happen I believe
infinite
Python translation awaiting approval
https://www.codewars.com/kumite/623ee4c445722700185bbe33?sel=623ee4c445722700185bbe33
Fixed.
This was fixed.
Thank you for your help! Any tips on where I can read up on random tests? All new to me
Thank you!
Random tests added.
Why is
null
expected for the speed of 0 at all?Infinity
seems a logical answer.I'm lost.
sorry your solution I should say. I think the random tests mentioned above would always yield infinity so would be covered by your solution?
What edit did I do ?!?
thank you for the feedback, surprised to have any so quickly
I'm not too familiar with your solution, has your comment been somewhat answered by @JohanWiltink's edit?
Needs random tests
The special case should be mentioned in the description.
And the example solution really ought to comply with the special case! :[