[理工] [資結] 95台大電機
The complexity of inserting a node into an arbitrary
binary search tree is (n is the number of nodes in the tree):
[註]arbitrary - 任意
問:ramdonized data建立BST時間複雜度 => ?
想請問這題答案該寫O(nlogn) 還是O(n)呢?
Top-down Bottom-up
感謝:)
--
Why Not :-P
http://whynot-p.blogspot.com/
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 1.162.56.71
推
01/24 22:48, , 1F
01/24 22:48, 1F
→
01/24 22:49, , 2F
01/24 22:49, 2F
→
01/24 22:52, , 3F
01/24 22:52, 3F
→
01/24 23:18, , 4F
01/24 23:18, 4F
→
01/24 23:19, , 5F
01/24 23:19, 5F
推
01/25 15:41, , 6F
01/25 15:41, 6F
討論串 (同標題文章)