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.
what about there being the Et-sign at the start of the string? When it appears like this, it isn't replaced?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I see, thank you for helping
Hi. You are not quite right about how you perform the conversion. I'm facing the same problem.
The rule says that "A letter with adjacent letters j and t is not converted." Accordingly, the transformed sequence looks like this:
jptddwd
0 + 3 + 0 + -2 + -2 + 4 + -2 => 1
, therefore answer is "Left side wins!"Agreed.
this solution no longer seems to work
This comment is hidden because it contains spoiler information about the solution
I thought I would have to ask the author to explain the solution. But I've understood it now. Great.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
thank you, that is a really plausible reason
Thanks!
0<1
is one char shorter thantrue
and0<0
is two chars shorter thanfalse
..Seems also, uncharacteristically for me, I didn't explain it...
(c#): IMHO the example test has still the typo:
Assert.AreEqual("abcde", Kata.Assemble(new string[] {"abcde","abcde","abcbe"}));
I really like this solution. I wonder why 0<1 was written instead of true and 0>1 instead of false.
Loading more items...