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
This comment is hidden because it contains spoiler information about the solution
God, is there any point in asking for a generalized solution in C#?
It would be appropriate to operate on a char array, and the examples emphasize this.
@mellamokb, thank you for help, fixed
Added
TestsAreNotBroken
test case with {"excavate", "east", "strike", "transport"} to test my solution and the same solution in the random test block, all looks good. Please let me know if the question is relevantAgreed, the C# random testcases definitely seem to be broken. Seems to mostly happen when there are multiple words beginning and ending with the same letter.
Having hard time understanding C# testcases.
Some of random test goes with input: {"excavate", "east", "strike", "transport" } which is easilly can be joined:
strikE + ExcavatE + EasT + Transport
But we excpect false for this case. What do I understand wrong with this Kata?
When you don't know, don't raise an issue. An issue is a bug in the kata. This code should return
{'z': 144, 'c': 1}
.Do i get this kata wrong?
Faced this input array in a random testcase for C#:
"mov z 142", "mov c 1", "jnz c 2", "jnz z 2", "jnz a -2", "inc c", "inc c", "inc c", "inc c", "inc z", "dec c", "inc z", "dec c", "dec c", "dec c".
Do "jnz c 2" and "jnz a -2" create an infinite loop here?
Loved this, tried to make my solution closer to OOP, it was great practive.
Thanks to the author of this kata for helping me learn the rules of poker once and for all.