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.
Updated the description again, let me know if it is clear enough.
Updated the description, please let me know if I need to change something to make it more clear.
Any recommended way to make it more clear?
Updated and add more tests, let me know if there is still some bug.
It's almost 1 and half years ago, let me recall what I was thinking...
Thank you for the translation
Oh, see the way you did it, its the same. My bad.
My setting of the big random tests is: 50 tests, from 51 to 100, 1 test for each length. Not a big deal.
Otherwise the translation looks good for me.
I defined the
Letter with Head/Tail
, and you need to count how many possible ways to get at least oneLetter with Head/Tail
from the given string without overlap.I don't know how you get 6, from which example.
But not giving how it would be misinterpreted, I cannot debug it. If it is an issue of misleading description, please give me specific and raise another issue.
The first:
(XOOO)XXO
was counted already, it is the third item under 1 Letter with Tail/HeadThe second:
XO(OOXX)O
didn't match with the definition, 2O
s followed by 2X
s didn't fall under any of the 4 categories.Random tests, you are comparing reverse_sum(n) against reverse_sum(n), so it is useless.
Is there any particular reason to add these tests?
More performance or some other reason?
change the way counting length, should be fixed now.
Approved by someone else.
This comment is hidden because it contains spoiler information about the solution
Loading more items...