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