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.
Please don't
It is the same solutions on me...
This question really has its difficulty, Must consider efficiency issues.
This comment is hidden because it contains spoiler information about the solution
Nice, Python 's sort is stable
What complexity are you talking about? There's maximum 9 words. If you consider word lengths, it's O(sentence length).
Nice, use origin function
In fact, you can use __import__ to simplify the code
The time complexity is O(n^2), which is too slow