Memo is added on LCS Problem.