'commit'
This commit is contained in:
13
TangDou/LuoGuBook/LX_16_3.cpp
Normal file
13
TangDou/LuoGuBook/LX_16_3.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
//题目:随机插入n个数,二叉搜索树(BST)的期望深度是多少?最坏深度的期望呢?
|
||||
|
||||
//阅读链接:https://www.cnblogs.com/wozaixuexi/p/9452004.html
|
||||
|
||||
// 在随机数据下,二叉搜索树的期望深度是log2n的
|
||||
// 最坏的深度期望是:n
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user