摘要:
队列: Array: 队列接口: 数组队列: 循环队列: 队列为空:front == tail 队列满:(tail+1)%data.length == front 阅读全文
posted @ 2018-10-15 21:22
高圈圈
阅读(4111)
评论(0)
推荐(0)
摘要:
栈的应用: undo操作-编辑器 系统调用栈-操作系统 括号匹配-编译器 以下是动态数组实现的数组栈: 定义动态数组: 定义Stack接口: 定义ArrayStack: 阅读全文
posted @ 2018-10-15 17:45
高圈圈
阅读(2365)
评论(0)
推荐(1)