Ad
  • Custom User Avatar

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

  • Custom User Avatar

    You're right. Because prime factoraztion is the only way i know to find the prime factors of a number. I would love to learn a better approach in this kata. Thanks!

  • Custom User Avatar

    Oh shit, nevermind. i was so dump

  • Custom User Avatar

    i dont understand something.
    test case "DAM" shifted 7 is "KHT" and "kht" isn't in the set WORDS
    So how is 7 the correct answer?

  • Custom User Avatar

    my solution got timed out when input is greater than 22!. Really have no clue how to fix it. :/

  • Custom User Avatar

    if only someone can state clearly how should i order the string...
    here are the results for two of the text input.
    '(A : 0) - (B : 114) - (C : 70) - (W : 0)'
    '(B : 364) - (R : 225) - (D : 60) - (X : 0)'
    isn't the second shold be '(B : 364) - (D : 60) - (R : 225) - (X : 0)'?