The base case is whenever S1 or S2 is a zero-length string.
(基线条件(base case)是 S1或 S2为长度为零的字符串的情形。
In this case, the LCS of S1 and S2 is clearly a zero-length string.
在这种情况下,S1和S2的LCS显然是长度为零的字符串。
If the argument is an empty sequence, fn: string (seq) will return a zero-length string, but the other function returns an empty sequence.
如果参数是空序列,fn: string (seq)将返回长度为零的字符串,另一个函数则返回空白序列。
应用推荐