递归算法--二叉树高度

int height(BitNode *t){html

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

}算法


您可能感兴趣的
code