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.
Our solutions are similar but I like yours more.
Do you know why difflib can't give the expected answer for term == "rkacypviuburk"?
nice. I think of the algorithm but cannot express it in code.
This comment is hidden because it contains spoiler information about the solution
I agree with you it's not necessary to go as far as n+1. I will get timeout if I write it that way.
I agree with you. This solution doesn't work for some strings, like "pig", you're, what?