会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
daimazhishen
博客园
首页
新随笔
联系
订阅
管理
2023年9月8日
数组模拟链表 模拟栈和队列 单调栈和队列(9/7 9/8)
摘要: 单链表 数组模拟链表可以加快速度,更利于优化算法 #include<iostream> using namespace std; const int N = 100010; int e[N], ne[N], head, idx; void init() { head = -1; idx = 0; }
阅读全文
posted @ 2023-09-08 21:05 敲代码的6
阅读(22)
评论(0)
推荐(0)
公告