in reply to Longest Common Subsequence Question
Your method would fail for
S1 = aabbb S2 = aabbb S3 = aa
The answer is "aa", but your method will try to find the LCS("bbb", "aa") and will fail to find a result.
Update: Oops, I meant
S1 = aa1bbb S2 = aa2bbb S3 = aa
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Longest Common Subsequence Question
by Anonymous Monk on Nov 19, 2007 at 04:11 UTC | |
by ikegami (Patriarch) on Nov 19, 2007 at 04:20 UTC | |
by Anonymous Monk on Nov 19, 2007 at 04:35 UTC | |
by ikegami (Patriarch) on Nov 19, 2007 at 04:41 UTC | |
by tye (Sage) on Nov 19, 2007 at 05:49 UTC | |
by sgt (Deacon) on Nov 19, 2007 at 14:06 UTC | |
by Anonymous Monk on Nov 20, 2007 at 01:25 UTC |
In Section
Seekers of Perl Wisdom