preorder to tree online code example Example: preorder traversal visualization display(root->data) preorder(root->left) preorder(root->right)