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.
Scala translation
What if the pirate ship reaches the right edge but there's a Navy ship in the range? Do I have to return false or true?
I scrutinized the edge cases and it seems that the ones originally used were far from enough to purge some implementations. So I added 2x25 fixed tests to scan through a lot of possibilities and ensure the algorithm.
I updated the python test suite, but those tests needs to be added to the C++ and Java versions too.
cheers