摘要: 二叉树链式结构 前一篇博客介绍了二叉树的顺序结构,是通数组来存储的,这里我们通过创建链式结构来存储,在堆上申请空间,结构如下: template <class DateType> struct BinaryTreeNode { DateType data;//数据域 BinaryTreeNode* 阅读全文
posted @ 2022-11-30 11:45 一只少年AAA 阅读(234) 评论(0) 推荐(1) 编辑