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.
Maybe there is time out? even if you pass all tests, if there is time out it will not accept
Nice solution. Mine is simmilar but much longer. It feels good to see the top solution is close to mine :)
I can not tell. All the tests i run, are working. But anyways, this kata is not my favorite. Thanks for helping and hava a nice sunday!
Just solved the kata in Java and encountered no problems. If your solution does not pass, it's probably wrong.
If you do not see any useful error message, it can either time out or crash in some other way. If you see the error message but you do not know what it menas, then paste it here or show us your code so we could drop some hints.
Kata and its Java version seems to be OK.
If it worked, it would pass. 4000+ people solved it in java somehow.
I don't know what you mean by "The error message says nothing": the result is either true or false, so if you print what you return and there's an error, it's probably expecting the opposite. However, the error MUST be saying something...
This comment is hidden because it contains spoiler information about the solution
This is not correct. Who voted this up? BigInteger is not allowed here
First time that my solution is very close to the top solution :)
After i spent a while programming my own solution, I am astonished about these two lines. I think this is near to the optimal solution.