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