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.
that's a classic! ;)
WTF with print(d)...
my bad...
Come on, actually there is a method of string with the same requirement
This kind of problem is not so flexsible.
If the parameter "count" is not allowed, that will be more intersting
If we need to pay attention to the O(n),there will be no various solutions
I met with the same problem ,I coded in Python,Have you solved the problem?
A little bit complex,I could do better next time.