6
/-----/ \-----\
/ \
4 7
/-/ \-\ /-/ \-\
/ \ / \
2 5 x 9
/ \ / \
x 3 8 x
6 4 2 x 3 5 7 x 9 8 x(the x's are optional) (Pre-order is much easier to implement non recursively than in-order. Why?).