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
This comment is hidden because it contains spoiler information about the solution
然而我就是一个缺乏常识的新手啊= =
讲真,我花了挺久的时间看全排列的算法,头都大了。要不是后来看了之前的讨论说有O(1)解法我还真想不到怎么处理……
ju ran shi zhao gui lv heng!
Scary.
Well,I'm learning some other solutions and I will solve it soon,maybe.
Error:heap of memory;
While the string is "abcdefghijkl",my JS solution causes error because the amount(12!=479001600) is too big.
How to solve it?