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.
Java translation published above by someone
Probably it takes too much time (Stackoverflowerror) to reach a solution. Because in the random tests you can obtain a string of more than 5 letters inside the input (a lot of permutations to check).
Error with your code, the input is a string of multiple characters not just one.
Not a suggestion.
Don't store passwords in plain text. I wanted to give a solution where the password is hashed and only the hashes are compared with state-of-the-art ciphers.
Could it be that static class variables keep their values between tests? (more specifically variable 'l')
This comment is hidden because it contains spoiler information about the solution
If that is what is going on then that would be easy for you to verify yourself. It's pure speculation from my side. You would be seing another log on the other side of the assertion that would have the 4-ship along with everything else (therefore should be true) but when you then test it yourself you'd get false
Is it possible that you're looking at the wrong log output? Maybe that input belongs to a different assertion? Presumably there's a log output both above and below the assertion.
Some kind of integer overflow?
ISSUE? Really?
This comment is hidden because it contains spoiler information about the solution
Just the read the description couple of times more.
This is not a Kata issue. Try printing the random tests to see which ones you are failing.
Loading more items...