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.
This comment is hidden because it contains spoiler information about the solution
I should be careful, so sorry for my mistake!
What? I just find an error in the original code and report it. People who did't pass the kata won't see the post and my comment. Did I miss anything?
This comment is hidden because it contains spoiler information about the solution
The description needs to be improved, people feels hard to understand the setting and your notation... I major is math so that is not with me, but I think others may suffer.
Now I know why creator feels upset to
cheating
LOLYou did it right so far, keep going. Maybe you should play with acos more.
I think it will save time, since we only need to evaluate
Counter(word)
once.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I have the same eye issue with you! Give an example in question body may helps.
Revising variable is not we want in this problem. We want to resive the value of variable stored in the memory. See my question on stack overflow for details: stackoverflow.com/questions/60043069/python-revise-global-variables-inside-function/60043190?noredirect=1#comment106191185_60043190
This comment is hidden because it contains spoiler information about the solution
I come into the situation like you... I use hashmap to achieve O(n) complexity but I have no idea with keeping the order of letters