2012年9月23日 星期日

Ural 1002 Phone Numbers

I figure out that pasting a code here isn't that useful.

More importantly, we must understand the outline of what we're suppose to code

as soon as we figure out the algorithm to solve it.

So I will put a diagram here to show the process instead.

I use Aho_Corasick Algorithm to solve this.

============================================================


沒有留言:

張貼留言