|
|
back to boardHelp, please, I have AC. Posted by Blum 22 Aug 2008 17:16 I've got AC constructing suffix tree (mcc algo). Now, who also has O(N) solution simplier than mine, please tell me your idea. And is O(N*N) anough to get AC? Thanks. Re: Help, please, I have AC. Re: Help, please, I have AC. Posted by Blum 23 Aug 2008 12:32 Oh, yes. How stupid I was. Thanks a lot. Now I have AC with kmp) Re: Help, please, I have AC. I've got AC constructing suffix tree (mcc algo). Now, who also has O(N) solution simplier than mine, please tell me your idea. And is O(N*N) anough to get AC? Thanks. yes. It is a little strange, but O(n^2) really gets AC Re: Help, please, I have AC. How to solve this problem using KMP? Somthing with prefix function or what? Help me pls, 'cause I solved this only with O(n^2). |
|
|