How to organize data in a BST
Answers
Answered by
0
Answer:
Algorithm: Step 1: Take the elements input in an array. Step 2: Create a Binary search tree by inserting data items from the array into the binary search tree. Step 3: Perform in-order traversal on the tree to get the elements in sorted order.
I hope it help you...
Similar questions