看完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)全黑的话就不成立了吧
有劳各位大大了