Ad
  • Custom User Avatar

    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!"

  • Custom User Avatar

    Hi! I noticed that in your answer you also converted the letter z to s, although I see no reason for this. I think the mistake is in this.

    The original sequence: jdtqzbq
    Correct sequence after conversion: jdtpzbq
    And the sum of the letters: 0 + -2 + 0 + 3 + -1 + 2 + -3 => -1, therefore Right side wins

    I hope I helped you figure it out.

  • Custom User Avatar

    I made a solution in TypeScript and did not pass the test, copied the same solutions for JavaScript and all the tests were passed