谁能提供两个字符串之间最长公共子串的记忆方法。我知道最底层的解决方案,但我无法以自上而下的方式思考。预期时间复杂度-O(n^2)
algorithm dynamic-programming
algorithm ×1
dynamic-programming ×1