結果 : longest common subsequence using dynamic programming time complexity