[C] 在中序线索二叉树上寻找结点的中序后继结点 →→→→→进入此内容的聊天室

来自 , 2019-08-28, 写在 C, 查看 139 次.
URL http://www.code666.cn/view/9185f3ec
  1. BiThrTree InPostNode(BiThrTree p)
  2. {/*在中序线索二叉树上寻找结点p 的中序后继结点*/
  3.     BiThrTree post;
  4.     post=p->rchild;
  5.     if ( p->rtag!=1 )
  6.     while ( post->rtag==0 ) post=post->lchild;
  7.             return ( post );
  8.         }
  9.  

回复 "在中序线索二叉树上寻找结点的中序后继结点"

这儿你可以回复上面这条便签

captcha