The paper describes the nature of traversal in binary tree,and integrates preorder traversal,inorder traversal,postorder traversal of a binary tree in one standard algorithm,which solves the problem of spatial complexity of binary tree traversal,making it more practical in application.