Skip to content

Commit 5016dfd

Browse files
committed
feat(1008): 更新注释
1 parent 39bba62 commit 5016dfd

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Binary-Tree/1008/solution1.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
/**
2-
* https://leetcode-cn.com/problems/construct-binary-search-tree-from-preorder-traversal/
3-
*
4-
* 1008. 先序遍历构造二叉树
5-
*
6-
* Medium
7-
*
8-
* 根 左 右
9-
*
10-
* 76ms 90.91%
11-
* 34.7mb 42.42%
2+
* 时间复杂度:O(n^2)
3+
* 空间复杂度:O(n)
124
*/
135
const bstFromPreorder = preorder => {
146
// 终止条件

0 commit comments

Comments
 (0)