Prepare a package containing the declarations for a binary


Problem

1. Prepare a package containing the declarations for a binary search tree and the functions developed in this section. The package should be suitable for inclusion in any application program.

2. Produce a menu-driven demonstration program to illustrate the use of binary search trees. The entries may consist of keys alone, and the keys should be demonstration single characters. The minimum capabilities that the user should be able to program demonstrate include constructing the tree, inserting and removing an entry with a given key, searching for a target key, and traversing the tree in the three standard orders. The project may be enhanced by the inclusion of additional capabilities written as exercises in this and the previous section. These include determining the size of the tree, printing out all entries arranged to show the shape of the tree, and traversing the tree in various ways. Keep the functions in your project as modular as possible, so that you can later replace the package of operations for a binary search tree by a functionally equivalent package for another kind of tree.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Prepare a package containing the declarations for a binary
Reference No:- TGS02645818

Expected delivery within 24 Hours