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.
Did you convert the strings to upper case?
That's weird. I just solved it using the map from the description.
I suspect you are referring to the Java translation.
To which language are you refering? Not
Python
, I presume.Not a suggestion.
Remove the parentheses of the division.
A single loop is O(n), so your code won't work, read Ravenous post and try again.
This comment is hidden because it contains spoiler information about the solution
Use proper markdown when posting code, otherwise it's hidden and we can't see what you posted.
Read the instructions again:
So the right answer is 7, not 8 for 15.
The timeout is related to this:
Try a faster code, your code should be O(1) to pass the tests.