Looking at the output one line at a time, starting from the top (ie as you would print it) the pattern we see is
some node's left sub-tree (if any)
the node itself
the nodes right sub-tree (if any)
then the sub-trees are the same (recursively), and each time you recurse the indentation increases.
You already have the hard part of the method signature, so just start and see how it goes.
JamesCherrill
Posting Genius
6,370 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073