PTA数据结构与算法题目集(中文)4-9 二叉树的遍历 (25分)

本题要求给定二叉树的4种遍历。c++ 函数接口定义: void InorderTraversal( BinTree BT ); void PreorderTraversal( BinTree BT ); void PostorderTraversal( BinTree BT ); void LevelorderTraversal( BinTree BT ); 其中BinTree结构定义以下:函数
相关文章
相关标签/搜索