数据结构 树的创建(线索化二叉树)
摘要:
//二叉树的线索化 #include #include #include //定义二叉树线索化节点 typedef struct _TreeNode{ char data; char lefttag;//0表示没有线索化,1表示线索化---每次创建节点都会初始化 所以所有节点默认都是0 char righttag; struct _TreeNode * lef... 阅读全文
posted @ 2016-08-04 22:15 寒魔影 阅读(594) 评论(0) 推荐(0)
浙公网安备 33010602011771号