update 1143.最长公共子序列:添加复杂度分析
This commit is contained in:
parent
5bc0fa5c96
commit
1ed179e233
|
|
@ -124,6 +124,10 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
* 时间复杂度: O(n * m),其中 n 和 m 分别为 text1 和 text2 的长度
|
||||||
|
* 空间复杂度: O(n * m)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 其他语言版本
|
## 其他语言版本
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue