a) The tree should not be modified and you should know how often the keys are accessed, it improves the lookup cost
b) You should know the frequency of access of the keys, improves the lookup time
c) The tree can be modified and you should know the number of elements in the tree before hand, it improves the deletion time
d) The tree should be just modified and improves the lookup time
What are the conditions for an optimal binary search tree and what is its advantage?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What are the conditions for an optimal binary search tree and what is its advantage?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!