Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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 :)
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.
Bumping this. Random tests should align with the prompt in terms of inputs.
"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?
Ruby tests 4 & 5 have the wrong string explanation text:
Should read:
Dad is 42, Son is 21
Dad is 58, Son is 29