当前位置:首页
> Luz 第6399页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论单选题:判定一个循环队列qu(最多元素为MaxSize)为空的条件是()。
判定一个循环队列qu(最多元素为MaxSize)为空的条件是()。@[C](2)A. qu-˃rear – qu-˃front ==MaxSizeB. qu-˃rear – qu-˃front -1==MaxSizeC. qu-˃rear…
单选题:判定一个顺序栈st(最多元素为MaxSize)为空的条件是()。
判定一个顺序栈st(最多元素为MaxSize)为空的条件是()。@[B](2)A. st-˃top != -1B. st-˃top == -1C. st-˃top != MaxSizeD. st-˃top == MaxSizeA.st-˃…
单选题:在循环双链表的p所指的结点之前插入s所指结点的操作是( )。
在循环双链表的p所指的结点之前插入s所指结点的操作是( )。@[D](2)A. p-˃prior = s;s-˃next = p;p-˃prior-˃next = s;s-˃prior = p-˃priorB. p-˃prior = s;…
单选题:非空的循环单链表head的尾结点(由p所指向)满足( )。
非空的循环单链表head的尾结点(由p所指向)满足( )。@[C](2)A. p-˃next == NULLB. p == NULLC. p-˃next ==headD. p == headA.p-˃next == NULLB.p ==…
单选题:不带头结点的单链表head为空的判定条件是( )。
不带头结点的单链表head为空的判定条件是( )。@[A](2)A. head == NULLB. head-˃next ==NULLC. head-˃next ==headD. head!=NULA.head == NULLB.hea…
单选题:链表**不**具备的特点是( )。
链表**不**具备的特点是( )。@[A](2)A. 可随机访问任一结点替换为错误项B. 插入删除不需要移动元素C. 不必事先估计存储空间D. 所需空间与其长度成正比A.可随机访问任一结点替换为错误项B.插入删除不需要移动元素C…
单选题:Consider the following statements.S1. Kruskal’s algorithm might
Consider the following statements.S1. Kruskal’s algorithm might produce a non-minimal spanning tree.S2. Kruskal’s algori…
单选题:Which of the following is true?
Which of the following is true?@[A](2)A. Prim's algorithm initialises with a vertexB. Prim's algorithm initialises with…
单选题:Worst case is the worst case time complexity of Prim’s algorithm
Worst case is the worst case time complexity of Prim’s algorithm if adjacency matrix is used?@[B](2)A. O(log V)B. O(V^2)…
单选题:Consider the following graph. Using Kruskal’s algorithm, which e
Consider the following graph. Using Kruskal’s algorithm, which edge will be selected first?![pic.png](~/5d2747e7-c65c-44…