Professional Documents
Culture Documents
Assignment - 1
Assignment - 1
2.
3. Construct a binary search tree for the following 12, 8, 15, 9, 7, 13, 16, 14, 2, 10, 20, 18, 11, 17
Construct an expression tree for the following expression.
4.
i) (a+b)*(c-d) ii) a+(b-c)*d*e+f iii) v1*v2-(v3+v4^v5)
Construct an AVL tree using C, G, M, S, J, E, A, Z, W, Y, D, X, Q, I, B and Delete any 3 nodes of.
5.
Your choice which will illustrate R0, R1, R-1 rotation.
Prepared by Approved by
Ms.A.Nithyasri – AP/AI&DS Dr.N.M.Saravanakumar – HOD/AI&DS