Ad
  • Default User Avatar

    Really enjoyed the kata.

    Used regex but didn't have full understanding of some functions and the syntax of regex but managed it nonetheless after spending some time printing the output of my regex splits.
    Really brute forced this one and when I saw other solutions after solving, I realised how much I need to learn new libraries.

    But thanks for the kata, it taught me a few new tricks.

  • Default User Avatar

    Hi g964. I love your katas by the way!

    Yes I have read it, and perhaps misunderstand it? My solutions work for all the tests, and all attempts. However it fails only with the accented letters. Not sure if I did missed something in the "plaintext letters" suggestion, but as far as I understand it, they are only alphabets from a-z or A-Z which have no accented characters.

  • Default User Avatar

    Did you read this:
    "
    The action of a Caesar cipher is to replace each plaintext letter (plaintext letters are from 'a' to 'z' or from 'A' to 'Z')
    "" ?

  • Default User Avatar

    I am still struggling with this issue of accented letters. If the lists have no accented letters in them, how are we to decrypt them into accented letters? Makes no sense.

    From the original list of strings, once decrypted, the length of the word with the accented letter (in the correct colution) is larger than the length of the word in the list while encrypted. So for example..

    input: ["M'fssutqn (ph vhvu ui", 'yfcm) gvx aum knfvjxj']

    my output: L'conomie (du grec ancien) est une activit

    expected: L'économie (du grec ancien) est une activité

    As you can see, the lengths of both parts in the list is equivalent to the length of my output. I am not sure how the extra accented letters came into the expected string.

    Can someone please assist?

  • Default User Avatar

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