摘要: Write a routine to list out the nodes of a binary tree in “level-order”. List the root, then nodes at depth 1, followed by nodes at de... 阅读全文
posted @ 2017-10-25 23:52 Assassin_poi君 阅读(650) 评论(0) 推荐(0) 编辑
摘要: 函数接口定义:int GetHeight( BinTree BT );其中BinTree结构定义如下:typedef struct TNode *Position;typedef Position BinTree;struct TNode{ ElementTyp... 阅读全文
posted @ 2017-10-25 23:34 Assassin_poi君 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 函数接口定义:void InorderTraversal( BinTree BT );void PreorderTraversal( BinTree BT );void PostorderTraversal( BinTree BT );void LevelorderT... 阅读全文
posted @ 2017-10-25 21:46 Assassin_poi君 阅读(201) 评论(0) 推荐(0) 编辑