Thanks for the explanation. How would I modify the above brute force code to be truely brute force? Also, the code only print out the length of the sequence but does not print out the characters of the sequence. I tried putting in some print statement in between but it does not seem to work correctly. Any helps?
in reply to Re^2: Longest Common SubSequence Not Working Correctly
in thread Longest Common SubSequence Not Working Correctly