Sorry, I encountered a problem when writing a binary tree deletion program.
When I insert a root node and delete it or delete to the last node, the program will get s