Set Wise Pre-T1
Set Wise Pre-T1
Assignment
Pre-T1
Instructions:
1. Write the Assignment Only on A4 Sheets
2. Students should attempt the questions only under their corresponding rollno
specified below.
3. Deadline to submit the Assignment- 27-04-2025
2. Find the Preorder traversal if the following are given for a binary tree T:
Inorder Traversal of T: DBAGEHCF
Postorder Traversal of T: DBGHEFCA
3. Create a Binary Search Tree for the following sequence of elements K, M, L, A, D, B, F,
E, G, H, J, I, N, O, P. Search for element Q. Calculate the total number of comparisons
made for searching the element Q.