Longest Common SubSequence Not Working Correctlyby Anonymous Monk
|on Nov 12, 2007 at 23:08 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
Hello Perl Monks,
I found the following code at
It seemed to work when the string and pattern were short (4 or 5 characters) but when I increased the length of the string and pattern, it ran forever. The string I used was:
I looked over the code and it looked good. Any thoughts on why it is not working?