• Custom User Avatar

    Yes of course, this was merely a nonsense definition.

  • Custom User Avatar

    FYI, Y is considered a vowel in many standard alphabets that use it (including the English one, according to Wikipedia https://en.wikipedia.org/wiki/Y). However, the definition of a written vowel is not consistent with the acoustic/phonetic definition(s) of a vowel.

    @Madjosz: This definition is not relevant in some languages: in greek, for instance, no vowel name matches its phoneme

  • Custom User Avatar

    Try my rhythm!

  • Custom User Avatar

    Yeah it's a "sometimes" case. Obviously this would make the kata significantly more difficult, as per Merriam-Webster there are rules for English that define what that "sometimes" might be. That being said, yeah - just knowing to ignore is probably all we need here :)

  • Custom User Avatar

    Best explanation I found so far why "Y" is not a vowel: Because it's name hase a "psilon" after the character and does not match it's phoneme.

  • Custom User Avatar

    Ahh, interesting. Didn't realise it was a vowel in Polish.... will update the description. :D

  • Custom User Avatar

    Why would y be considered a vowel?

    Why wouldn't y be considered a vowel? (hint: I am Polish)

  • Custom User Avatar

    Why would y be considered a vowel?

  • Custom User Avatar

    Should clarify if "y" is considered a vowel or not. Even better, you could create a more difficult version of this where "y" needs to be treated as a vowel when it is the only vowel in the word/at the end of the word or a syllable/middle of a syllable (per Merriam-Webster) and then otherwise just treated as a consonant.

  • Custom User Avatar

    Bumping this. Random tests should align with the prompt in terms of inputs.

  • Custom User Avatar

    The kata specifies that the array of non-negative integers always exists, and always has at least one element.

    Do you mean to say the tests don't always generate such arrays? ( That would be an issue. ) Otherwise, what do you mean to say?

  • Custom User Avatar

    That -1 looks really bad in all languages that have Nothing-None-nil-whatever for that purpose...

  • Custom User Avatar
  • Custom User Avatar

    "Given the scrollY integer (always non-negative) and an array of non-negative integers (with at least one element)" - In Ruby, I'm all for a check to make sure the array of non-negative integers actually exists, but the language of the kata strongly indicates that this won't ever be the case and will always have at least one element. Perhaps worth editing the language?

  • Custom User Avatar

    .

  • Loading more items...