摘要: 前言 一个简单的队列示例 内容 class Queue { constructor() { this.items = {} this.headIndex = 0 this.tailIndex = 0 } enqueue(item) { this.items[this.tailIndex] = ite 阅读全文
posted @ 2022-03-17 16:55 。思索 阅读(46) 评论(0) 推荐(0) 编辑