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
It's a solution who most people don't understand.
short, yes. smart, yes. clever, yes. but not best practices.
Nice, short solution. :)
I dont understand, what you mean?
If you are doing this in C#, the testcases are swapped around. So your code is returning "nixosvauqlCyjntckjtgAsjttbfyhx" and the expected answer is "nixosvauql_cyjntckjtgAsjttbfyhx". This can be proven if you print/output your result to the console.
I have promblev with this Kata. I'm sure that I have the right solution, but a random test shows that there is a mistake, but it is not!
KataTests
✔ Test Passed
Completed in 0.016173ms
RandomTests
✘ Expected string length 30 but was 31. Strings differ at index 10.
Expected: "nixosvauqlCyjntckjtgAsjttbfyhx"
But was: "nixosvauql_cyjntckjtgAsjttbfyhx"
---------------------^
Completed in 0.047351ms
SimpleTests
✔ Test Passed
Completed in 0.00015ms
Currently Codewars platform is experiencing issues.
https://github.com/Codewars/codewars.com/issues/893
I have a solution, it passes the tests and there are no errors on the output, but for some reason I can not publish my decision. What is the problem?