LCS Problem Revisited

Help me with this question i am not able to solve

1 Like

See this codechef tutorial: http://www.codechef.com/wiki/tutorial-lcs-problem-revisited

1 Like