adplus-dvertising
frame-decoration

Question

Prim’s algorithm can be implemented using _______

a.

a stack data structure

b.

radix sort

c.

priority queue data structure

d.

bubble sort

Posted under Discrete Mathematics

Answer: (c).priority queue data structure

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Prim’s algorithm can be implemented using _______

Similar Questions

Discover Related MCQs

Q. In a maximum spanning tree the weighted graph is of _______

Q. The spanning tree will be maximally acyclic if ____________

Q. A complete undirected graph of n nodes can have maximum ______ spanning trees.

Q. If minimum cost edge of a graph is unique, then that edge will be added to any MST. Choose the correct option.

Q. An immediate application of minimum spanning tree ______

Q. What is the time complexity of Kruskal’s algorithm?

Q. Time complexity of Prim’s algorithm is _________

Q. For every spanning tree with n vertices and n edges what is the least number of different Spanning trees can be formed?

Q. If the weight of an edge e of cycle C in a graph is larger than the individual weights of all other edges of C, then that edge ________

Q. Spanning trees have a special class of depth-first search trees named _________

Q. Prefix expression can be evaluated _________

Q. What is the postfix expression of the given expression, (2*4-(5+7/3^4)-8)10?

Q. Convert the following expression into prefix notation.

(g-(f^e/d+c)-ba)

Q. What is the postfix expression of (A+B)-C*(D/E))+F?

Q. What is the postfix expression of 9+3*5/(10-4)?

Q. Conversion from prefix to postfix expression can be done _______________

Q. Infix to prefix conversion can be done using __________

Q. What is the output of the following if funct1(7)?

Q. Evaluation of 4*5+3/2-9 in prefix notation.

Q. Evaluation of expression a/b+c*d-e in postfix notation.