• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

promote-L

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2023年2月8日

栈的应用-括号匹配问题

摘要: #include<iostream>using namespace std;#define MaxSize 10 typedef struct{ char data[MaxSize]; int top;}SqStack;void InitStack(SqStack& S);bool IsEmpty( 阅读全文

posted @ 2023-02-08 19:32 浪訫 阅读(25) 评论(0) 推荐(0)

队列的链式实现

摘要: #include<iostream>using namespace std; typedef int Elemtype;typedef struct LinkNode{ Elemtype data; struct LinkNode* next;}linkNode;typedef struct{ Li 阅读全文

posted @ 2023-02-08 18:07 浪訫 阅读(25) 评论(0) 推荐(0)

队列的顺序存储

摘要: #include<iostream>using namespace std;#define MAXSize 10typedef int Elemtype; typedef struct{ Elemtype data[MAXSize]; int front, rear;}SqQueue;bool Is 阅读全文

posted @ 2023-02-08 14:08 浪訫 阅读(19) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3