Skip to content

Commit

Permalink
Update chapTree.tex
Browse files Browse the repository at this point in the history
Unique Binary SearchTrees 时间复杂度O(n^2)
  • Loading branch information
x1957 committed Jan 14, 2014
1 parent c7111b2 commit 73434f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C++/chapTree.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ \subsubsection{代码}

\begin{Code}
// LeetCode, Unique Binary Search Trees
// 时间复杂度O(n),空间复杂度O(n)
// 时间复杂度O(n^2),空间复杂度O(n)
class Solution {
public:
int numTrees(int n) {
Expand Down

0 comments on commit 73434f1

Please sign in to comment.