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