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.
I have run my solution internally and it seems that every test returns the correct value (Java), but on the server side my solution will not pass a random test. I printed the input variables and tested many times, but in CodeWars it returns some exceptions (like the index out of bounds) or an empty string for example, even when on my side it did not. I do not know what I am doing wrong. Any suggestions? Are there any conditions I do not know about it? I am confused.
Thank you, tried last evening and it worked !!!
Me either, tried diffrent approach - works in Ide, throws runtime error here.
This comment is hidden because it contains spoiler information about the solution
I had the same issue - i pressed 2 times submit final button and the second time my solution was accepted, but I did not change anything in my code - strange - repeated two more times - same result.
This comment is hidden because it contains spoiler information about the solution
Thank you.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Now it appeared , I did not know it works this way. Thank you. Good lesson for me . Definitely i will learn from this approach. Thak you again, for your help.
Excuse me, but I don't know how can I get access to your answer. Never tried this before and I am confused. Just give me a suggestion what should i look for and I try ti fix my code, because so far I can not spot any mistake (compared input/output and both look the same for me)
This comment is hidden because it contains spoiler information about the solution
I have failed random test , but looking at the result I dont understand one thing - How come "Yoshiro" can precede "Nobuyuki" in the result. Am I missing something? "Yoshiro" - 7 letters, "Nobuyuki" - 8 ltters. Am i wrong?
arrays first differed at element [12]; expected:<[Yoshiro]> but was:<[Nobuyuki]>
passed all test except the test with negative values.Any suggestions?