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.
This comment is hidden because it contains spoiler information about the solution
Well, this is a coding site, where you are supposed to learn how to deal with real-life situations. Validating an input seems to me a very basic concept. Furthermore, this is mentioned in the description and also tested (at least partially) in the example tests. Do you need an additional warning? Please:
:-)
Well, probably it should be rated at 4/5 kyu... however, I can't change that.
I agree, the way this requires the programmer to check the input is very complicated.
Would you reconsider your rating? :-)
This comment is hidden because it contains spoiler information about the solution
What I'm testing is if you can find the correct algorithm to efficiently crack a password. And yes, you cleverly pointed out the way I'm trying to avoid timeouts. There is no "guesswork" included: if you try to crack a password with brute force, you go through all possible combinations, starting from an empty string...
The description is rather clear about error handling:
However, following your suggestion I included a number of corner cases in the example tests, in order to know what's coming. Also, the input, key and the expected results are now displayed in the random tests.
Cheers
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution