[理工] 幾個資料結構小問題 DS
以下幾題可以看成是非題
1. In static hashing, when the value of loading density is equal to
the value of the key density of the hashing table, then overflow will
not occur.
我知道Identifier density和loading density的個別定義
還有Loading density越接近1表示越容易collision
但是和Identifier density有甚麼關係嗎?
2. Given a graph G, if there is a vertex v of G such that DFS(v)
spanning tree is also the BFS(v) spanning tree of G, then G is also
a tree structure.
3. The space complexity of a recursive search function for T is O(logn).
以上兩題不是很確定
還請板友指教 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.227.154.182
→
01/24 22:34, , 1F
01/24 22:34, 1F
推
01/24 22:36, , 2F
01/24 22:36, 2F
→
01/24 22:42, , 3F
01/24 22:42, 3F
推
01/24 23:19, , 4F
01/24 23:19, 4F
→
01/24 23:22, , 5F
01/24 23:22, 5F
→
01/24 23:58, , 6F
01/24 23:58, 6F
推
01/25 16:38, , 7F
01/25 16:38, 7F
※ 編輯: carefree1205 來自: 61.227.152.229 (01/25 20:48)
→
01/25 20:49, , 8F
01/25 20:49, 8F
推
01/25 21:56, , 9F
01/25 21:56, 9F
→
01/25 21:57, , 10F
01/25 21:57, 10F
推
01/25 22:00, , 11F
01/25 22:00, 11F
→
01/25 22:23, , 12F
01/25 22:23, 12F
推
01/25 22:59, , 13F
01/25 22:59, 13F
推
01/26 08:12, , 14F
01/26 08:12, 14F
→
01/26 11:34, , 15F
01/26 11:34, 15F
→
01/26 11:34, , 16F
01/26 11:34, 16F