The various operations of the binary tree are traversed, copied, and heighted. It is judged whether it is a complete binary tree and the expression stored in the binary tree is calculated.