dp数组里存放LCS # # longest common subsequence # @param s1 string字符串 the string # @param s2 string字符串 the string # @return string字符串 # class Solution: def LCS(self , s1 , s2 ): # write code here m, n = len(s1), len(s2) dp = [['' for _ in range(n+1)] for _ in range(m+1)] ...