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