Pre-middle-order traversal binary tree