Modify the traversal methods from Section 10.2 to include parentheses. For example, an invocation of to String In order() on (the root of) the tree in Figure 10–4 should return the String "((G((K)E(L)))A(((F)B)H((C(J))I(D))))"
Figure 10–4
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here