Question: Codes give My Tree public class MyTree{ private TreeNode root; public MyTree(){ root=null; } public boolean isEmpty(){ //implement this method } public int size(){ //implement
TIC . Create a java file named My Tree.java 2 Copy the entire code in the MyTree.txt and paste to your MyTree.java 3. Implement the required methods Once completed, use the TreeDriver.class to test your implementations. If all methods properly, the output should look like: reeDriver.class: Results 20 -mord inOrder 3 689 20 209863 638 20 8 6 20 9 reverse postOrder
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
