Skip to content

Commit 73434f1

Browse files
committed
Update chapTree.tex
Unique Binary SearchTrees 时间复杂度O(n^2)
1 parent c7111b2 commit 73434f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/chapTree.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ \subsubsection{代码}
13471347

13481348
\begin{Code}
13491349
// LeetCode, Unique Binary Search Trees
1350-
// 时间复杂度O(n),空间复杂度O(n)
1350+
// 时间复杂度O(n^2),空间复杂度O(n)
13511351
class Solution {
13521352
public:
13531353
int numTrees(int n) {

0 commit comments

Comments
 (0)