Skip to content

Commit fab870b

Browse files
committed
fix(450): 修复时间复杂度错误
1 parent c976c2f commit fab870b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Binary-Tree/450/solution1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* 时间复杂度:O(n)
2+
* 时间复杂度:O(logn)
33
* 空间复杂度:O(n)
44
*/
55
const deleteNode = (root, key) => {

0 commit comments

Comments
 (0)