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.
Well sorry, i didn't realise that it's possible to not see answers to your own question. I untagged spoiler.
Your solution itself should have 36 or less characters. New lines and spaces count as characters too.
That's already in the description.
So you can't have
"Hobbits, Hobbits,....."
Better how? What is missing?
Hello. you have a nested for loop so that makes the complexity of your function O(n^2). Try to iterate over the string once or twice and think what you need to calculate during each step.