当前位置:首页
> Luz 第6206页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论单选题:假设一散列表的大小是11,散列函数是H(key)=key mod 11,用线性探测法解决冲突。先将4个元素{14,38,61,8
假设一散列表的大小是11,散列函数是H(key)=key mod 11,用线性探测法解决冲突。先将4个元素{14,38,61,86}按顺序插入初始为空的散列表中。如果再插入元素49,则该元素被插入到表中哪个位置(下标)? @[D](2…
单选题:设有一组记录的关键字为 {19,14,23,1,68,20,84,27,55,11,10,79},用分离链接法构造散列表,散列函
设有一组记录的关键字为 {19,14,23,1,68,20,84,27,55,11,10,79},用分离链接法构造散列表,散列函数为H(key)= key mod 13。问:散列地址为1的链中有几个记录? @[D](2)A. 1B. 2…
单选题:在一个大小为K的空散列表中,按照线性探测冲突解决策略连续插入散列值相同的N个元素(N
在一个大小为K的空散列表中,按照线性探测冲突解决策略连续插入散列值相同的N个元素(N˂K)。问:此时,该散列表的平均成功查找次数是多少? @[C](2)A. 不确定B. K/NC. (N+1)/2D. 1A.不确定B.K/NC.(N+1…
单选题:一个大小为11的散列表,散列函数为H(key)=key mod 11,采用线性探测冲突解决策略。如果现有散列表中仅有的5个元素均
一个大小为11的散列表,散列函数为H(key)=key mod 11,采用线性探测冲突解决策略。如果现有散列表中仅有的5个元素均位于下标为奇数的位置,问:该散列表的平均不成功查找次数是多少? @[C](2)A. 6/11B. 1C. 16…
单选题:Given the following game tree, the red node will be pruned with
Given the following game tree, the red node will be pruned with α-β pruning algorithm if and only if __. @[D](3)![bt.j…
单选题:Suppose that the replacement selection is applied to generate lo
Suppose that the replacement selection is applied to generate longer runs with a priority queue of size 5. Given the seq…
单选题:The Online Hiring Algorithm ( hire only once ) is described as t
The Online Hiring Algorithm ( hire only once ) is described as the following: ```int OnlineHiring ( EventType C[ ], int…
单选题:Given a set of activities $$S = \{ a_1, a_2, \cdots , a_n \}$$.
Given a set of activities $$S = \{ a_1, a_2, \cdots , a_n \}$$. Each $$ a_i$$ takes place during a time interval $$ [s_…
单选题:After splaying at node 1 in the given tree, which of the followi
After splaying at node 1 in the given tree, which of the following statements about the resulting tree is TRUE? @[C](2…
单选题:Insert 28, 23, 54, 61, 98, 37 into an initially empty AVL tree f
Insert 28, 23, 54, 61, 98, 37 into an initially empty AVL tree first. Then immediately insert one of the following keys…