Dsa 2nd Assignment - 241106 - 153553
Dsa 2nd Assignment - 241106 - 153553
2. What is binary tree? Briefly explain skewed, strictly, complete, almost, and
Extended binary tree with diagram.
5. Write algorithm to implement for recursive search & insert for a binary
search tree.
6.Define binary search tree. and also For the given data draw a binary search
tree and show the array and linked representation of the same 43, 10, 79, 90,
12, 54, 11, 9, 50
11.Represent the given graph into adjacency matrix and adjacency linked list.
12. What are the graph Traversals explain briefly And also write the traversals
for the following graphs.
14.What are the collision resolving strategies explain Linear Probing technology
16.Define priority queue. Explain the following i)Leftist tree, ii) weight biased
tree and iii)height biased tree
17.Define optimal binary search tree. Construct optimal binary search tree for
the given data. Let n=4 and
(a1,a2,a3,a4)=(10,15,20,25).
(p1,p2,p3,p4)=(3,3,1,1) and
(q0,q1,q2,q3,q4)=(2,3,1,1,1)