Ad
  • Custom User Avatar

    Got it thanks. See now that avoiding duplicates only matters for output, not input; for instance aaabbbb would be valid input? ---> bababab... That was the point that was a little unclear to me, my mistake!

  • Default User Avatar

    Please read the Kata description again. It clearly states what will be considered a vowel.

  • Default User Avatar

    The description says something about there being equal number of vowels and consonants...

  • Default User Avatar

    shouldnt this be ordered alphabetically

    when i run the test it assumes "e" as if it is the 2nd letter on the alphabet
    i got this:
    Expected: 'edorur', instead got: 'deroru'
    Expected: 'ebefegikilimomonupupuqusuw', instead got: 'befegekilimimonopupuqusuwu'

    and some more like that

  • Custom User Avatar

    The y is a vowel in acidity, but a consonant in caditiy... Otherwise you would have a double consonant 'ty' or a double vowel 'iy' if y behaved as one or the other; it is contextual. This is what I was referring to.

  • Default User Avatar

    Not really. You have to alternate vowels and consonants. Look again...between the two, only caditiy does that. y is not a vowel in this Kata.

  • Custom User Avatar

    acidity should return acidity as described in the example tests... Or else it should return failed if you conisder y a consonant in this case... What to do with y is an issue, doesn't fall neatly into either category.