Data Structures and Algorithms - Old Questions
Question Answer Details
2. Explain complete binary tree with example. Starting with an empty binary search tree, show the effect of successively adding the following elements: 47, 50, 25, 27, 17, 61, 5, 26
. Also, traverse the resulting tree in pre-order, in-order, and post-order. [2+5+3]
Answer
AI Generated Answer
AI is thinking...