Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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.

  • Custom User Avatar

    @mellamokb, thank you for help, fixed

  • Custom User Avatar

    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 relevant

  • Custom User Avatar

    Agreed, 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.

  • Custom User Avatar

    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?

  • Custom User Avatar

    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}.

  • Custom User Avatar

    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?

  • Custom User Avatar

    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.