![](https://img-blog.csdnimg.cn/2019092715111047.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
栈与队列
文章平均质量分 58
数据结构:栈与队列
未闻花开_
一个IT小白
展开
-
单链表循环队列
//// queue_.cpp// Cycle//// Created by ljpc on 2018/5/30.// Copyright © 2018年 ljpc. All rights reserved.//#include "queue_.h"void creatCycleQueue(CycleQueue* que)// 创建一个循环队列指针que{ que->size_ = 0; que->rear = NULL;}bool is.原创 2022-04-28 14:54:28 · 4253 阅读 · 5 评论 -
循环队列的应用
//// binary_tree.cpp// BinaryTreeApp//// Created by ljpc on 2018/5/3.// Copyright © 2018年 ljpc. All rights reserved.//#include "binary_tree.h"BiTreeNode* CreatBiTree(char* s, int &i, int len)// 利用先序遍历创建二叉树// 参数:先序遍历字符串s,字符串初始下标i=0,字符串.原创 2022-04-21 14:37:58 · 2379 阅读 · 1 评论