Keep It Simple, Stupid | |
PerlMonks |
Re^2: Challenge: Fast Common Substringsby thezip (Vicar) |
on Apr 04, 2007 at 20:45 UTC ( [id://608366]=note: print w/replies, xml ) | Need Help?? |
OK, I concede to the Suffix Tree solution presented by lima1 ++. I suspect the best run-time order I could muster is O(nlogn), and worst O(n²). It was still a fun diversion nonetheless... :-)
Where do you want *them* to go today?
In Section
Seekers of Perl Wisdom
|
|