InterviewSolution
Saved Bookmarks
| 1. |
Which of the following is not a random tree?(a) Treap(b) Random Binary Tree(c) Uniform Spanning Tree(d) AVL TreeMy question is based upon Binary Trees in chapter Binary Trees of Data Structures & Algorithms IThe question was asked during an interview. |
|
Answer» CORRECT choice is (d) AVL Tree Explanation: Treap, also known as random binary search tree, Random binary tree and UNIFORM SPANNING tree are all random tree. Random tree is a tree formed by a random process of addition and deletion of nodes. AVL tree is a self – balanced binary search tree. |
|