Binary Tree postorder Traversal

Posted hujianglang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Binary Tree postorder Traversal相关的知识,希望对你有一定的参考价值。

typedef char ElemType;

typedef struct BiTreeNode

    ElemType data;
    struct BiTreeNode *left;
    struct BiTreeNode *right;
BiTreeNode,*BiTree;

Binary Tree PostOrder Traversal
void postOrderBiTree(BiTree T)
    if(T == NULL)
        return;
    
    postOrderBiTree(T->left);
    postOrderBiTree(T->right);
    printf("%c",T->data);

 

 

以上是关于Binary Tree postorder Traversal的主要内容,如果未能解决你的问题,请参考以下文章

145. Binary Tree Postorder Traversal

145. Binary Tree Postorder Traversal

145. Binary Tree Postorder Traversal

LeetCode145. Binary Tree Postorder Traversal 解题报告

145. Binary Tree Postorder Traversal

leetcode - Binary Tree Postorder Traversal