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.
For Python, at least, you need more random cases for
length == 4
.This solution
cannot handle such case, but still passes the random tests, given enough tries.
How is this the simplest version of the problem? You just doubled the number of vowels.
If you think adding case insensitivity to a regex is the simplest solution, please consider those that would not solve this with a regex.
I don't mind the spec so much, but please lose the "for simplicity". Alternatively, specify all lowercase inputs. That would not be a bad option for an estimated
7kyu
.