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.
Thanks a lot for pointing out that Y is not always a vowel. I didn't know that because English is a foreign language for me. Although wikipedia says that in English language Y is a vowel and SELDOM is a consonant. Anyway, I was wrong bringig up that question, and the Author should have probably clarified that. Either way, test cases are pretty obvious about that, so it is not a big deal.
For C#: Tests are not correct. They don't consider "Y" as vowel. Therefore they force all the solutions to exclude "Y" from the replacement pattern.
I can't believe people upvoted this solution as the Best Practice and Clever... IT MUTATES THE ORIGINAL LIST!
Someone should add such check in Tests.