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.
Done.
Maybe it should be forked and approved again?
@KenKamau, can you please approve again, the forked one
https://www.codewars.com/kumite/5f2b0395415df20024d92b26?sel=5f2c53df62967400308c19c8
It depends on the input string, doesn't it?
i wrote my code in c++ and i guess there is something wrong,
Random_test
Expected: equal to gvtchl znkqkh pb tcqy
Actual: gvtch lznkqk hp btcqy
This comment is hidden because it contains spoiler information about the solution
No, I've copied those tests from Java test suite, if you see other thing in sample tests, click reset. These should be the sample tests:
i think you have done it in some other language this is for java:
assertEquals(4, Persist.persistence(39));
this is causing the problem
You're confusing the input of one test with the expected value of another.
Those are the assertions and you can see they're both ok.
persistence(999)==4 but it asks for 2
wait a sec
persistence(39)==3
but it is asking for 4
ok,I very sorry
In the description in Python two blocks are shown, please fix it.
Ty I thought 2 is what(in this case) we had to return.
The tests are ok. This case is even explained in the kata description.
This comment is hidden because it contains spoiler information about the solution