(a) Write a method that prints each binary tree rotated to the left with proper indentation, as in Figure 6.65a.
(b) Adopt this method to print a threaded tree sideways; if appropriate, print the key in the successor node, as in Figure 6.65b.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here