队列实现二叉树层序遍历

问题描述:

        二叉树的层序遍历

问题解决:

      头文件queue.h:

queueh1

#endif


头文件实现queue.c:

queuec1

queuec2

层序遍历函数:

seq

注:

       以上函数在binary.c中进行实现,详细参考二叉查找树


具体源代码:

binary.cbinary.hmain.cqueue.cqueue.h

posted @ 2013-09-17 20:41  罗松超  阅读(1689)  评论(1编辑  收藏  举报