In: Computer Science
Implement a GUI for AVL Tree for int data type using JavaFX. The GUI should provide facility to add, remove and find data elements and also traversal (in-order, pre-order, post-order, level-order) of the tree structure. If tree become unbalance, it should display the message that tree become imbalanced. It should provide a button to make the tree a Balance Tree. Extra: It should provide the option to load the data from a file and save the data in a file. Make it interactive for deleting a node. It will show deletion, insertion and balancing operations in single stepping graphically.