算法导论 练习题 10.4-4

来源:互联网 发布:计算广告pdf百度云 编辑:程序博客网 时间:2024/06/08 02:34

void trav(TreeNode t)

{

if(t == null)

return;

print(t->key);

TreeNode tn=t->leftChild;

trav(tn);

if(tn != null)

trav(tn->rightSibling);

}

0 0