DSA Model QUESTION PAPER
DSA Model QUESTION PAPER
16. (a) Construct an expression tree for the expression (a+b*c)+((d*e+1)*g).Give the output when you
apply preorder,inorder and postorder traversals.
(15)
(OR)
(b) Construct the minimum spanning tree(MST) for the given graphs using Prim’s Algorithm. Find the Cost of
Minimum Spanning Tree. (15)