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.
Your problem is in line 3 of your code:
But you're generating an empty array.
And then there is another problem:
Your code returns the first value, not the largest one.
The problem is when you populate
clean_str
I've renamed the function, there was a typo in its name, change it to
pangram
and click reset.It has both
T
andt
, your code is still not case insensitive.Changed the error messages, but your code is wrong, it's not case insensitive.
That needs Ruby >= 2.7