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.
Thank you so much for posting this! It helped me actually solve it
You can translate it to Java if you want :]
This has been happening to me for the past week. I don't know what the problem/solution is.
Indeed take a look at the formula for points:
points = numberOfDamagedShips * 0.5 + numberOfSunkShips - notTouchedShips
that's not a failling test but an exception that your code is raising when it's executed. Too much imbricated parenthesis (each parentheses pair is equivalent to a recurcive call, so you did saturate the heap space). You'll need to rewrite a bit your code. ;)
Same problem here. I had to translate to JavaScript to solve this kata (the same code passed all the tests there).
yes it should.
CW servers troubles. Nothing to do except wait some time...
It's already implemented in the preloaded part.