Computer Science, asked by shushith4393, 1 year ago

Dictionary implementation using binary search tree in java

Answers

Answered by san2018
0
don't mplement this yourself, it really is non-trivial. Use the TreeMap provided by Java. Internally, TreeMap uses a Red-Black tree to keep the tree balanced. Red-Black trees are binary search trees guaranteeing a height which is logarithmic in the number of leave nodes.
Similar questions