看完103,寫104時感覺又回到正常的出題
雖然今年離103很近
但還是希望不要遇到那個出題教授才好
104有幾題是怎麼想都想不通的
希望各位大大給點指點
(一)是非題
6.The ''dominator''d of a node v in a DAG is a node that
all the paths going from v to any of the sink nodes must
go through d.Let n be the number of nides in the graph,
then finding the set of dominators for all nodes in an
arbitrary DAG can be O(n).
(二)附選題
11.他是在考link list而已嗎
(A)
(B)
(C)合併link list應該是O(n)
(D)有序的刪除O(n)
12.binomial heap/tree
(A)拿最小的當ROOT 故O(1)
(B)false
(C)甘系?
(D)True
(E)採lazy merge的話是嗎?
15.tree
(A)unknown
(B)應該是inorder
(C)我寫TRUE 沒說Root算0還是1
(D)應該部會
(E)全黑的話就不成立了吧
有勞各位大大了