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.
That's really awesome solution! You amazed me.
NICE!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That's beautiful
Nice!
Very elegant solution!
What! now that was clever.
Such a simple solution! Good thinking!
love this solution!!! thank you!!!
Thanks for solution.
yeah, I thank it's good practice. Thanks!
This comment is hidden because it contains spoiler information about the solution
It would have been better if you could have given the input.
Did you try your solution with the below example (given in the description)?
I tried your present solution on it and unfortunately it doesn't pass. Could you please give it a try?
Cheers.
I think there is a wrong test in the random tests in Scala. According to the instructions in the field of 6 we should put as many * as the number of errors for that letter, but there is a failing test where the number of * is always on the field of 5 in the expected string:
(I replaced the whitespace with dots)
Actual: u..8.....********w..7.....*******x..14.....***z..11.....
Expect: u..8.....********w..7.....*******x..14....***z..11....
In the example above from number 14 the stars are on the field of 5.
Here again from another run:
Actual: u..7.....*******w..6.....******x..12.....****z..8.....
Expect: u..7.....*******w..6.....******x..12....****z..8....
In the description there is no sign of changing the position of the stars in the result string. Could you please check it?