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.
Yes of course, this was merely a nonsense definition.
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
Try my rhythm!
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 :)
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.
Ahh, interesting. Didn't realise it was a vowel in Polish.... will update the description. :D
Why wouldn't
y
be considered a vowel? (hint: I am Polish)Why would y be considered a vowel?
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.
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?
That
-1
looks really bad in all languages that have Nothing-None-nil-whatever for that purpose...CoffeeScript, Crystal, Elixir, Factor, Clojure, Go, Julia, Lua, PHP, R, Racket, Reason, and TypeScript translations.
"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?
.
Loading more items...