Do the following: a. Build an AVL tree using the following 5 numbers: 8, 9, 10, 2, 1. You should draw a diagram to show the steps by adding one number at a time starting with number 8; b. Now use Eclipse to write the code for a test driver class. In this class, create an AVL tree and add the same numbers above one by one to the AVL tree. You can use the AVL class given by the textbook; c. Then write a Java method named printAVL. The method should receive the AVL tree above, together with a string such as “inorder”, “postorder”, “preorder”, to print the numbers in the AVL tree in the right order. Take a sreenshot of the output window.
Please do all parts, I will upvote from other Ids