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.
I think top votes solution is n^2, not n^n
btw, I love your solution, nlogn is better
oh, that make sense, thanks a lot.
I will work on it.
Hello, I love this problem.
But I have a question about 26^4 is less than 475000.
In my solution, I use a global variable
index
to express short url,but the random test generate 475000 unique url and cause conflict, could you give me some help?
ps: poor English, sorry about that.