遞歸算法--二叉樹高度

int height(BitNode *t){html

if(t==null)
    return 0;
else
    return 1+Max{height(t->lchild),height(t->rchild)};

}算法


您可能感興趣的
code

相關文章
相關標籤/搜索