Question: Write a program in Java that use BST to save record of animals in a zoo. It should be able to insert and delete values
Write a program in Java that use BST to save record of animals in a zoo. It should be able to insert and delete values based on ID. It should also display values in in order, pre order and post order. Record contain type of animal and a unique ID. Values must be inserted in tree according to ID. Program should contain a function that show internal nodes in tree. Dry run this code by adding 5 values in tree and then delete a value that lies in case c of deletion.
this is complete question need it in java

Write a program that use BST to save record of animals in a zoo. It should be able to insert and delete values based on ID. It should also display values in in order, pre order and post order. Record contain type of animal and a unique ID. Values must be inserted in tree according to ID. Program should contain a function that show internal nodes in tree. Dry run this code by adding 5 values in tree and then delete a value that lies in case c of deletion
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
