会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
WP-WangPin
轰轰轰
首页
新随笔
联系
管理
2020年10月29日
JavaScript实现基于对象的双端队列
摘要: class Deque { constructor() { this.count = 0; this.lowestCount = 0; this.items = {}; } addFront(element) { if (this.isEmpty()) { this.addBack(element)
阅读全文
posted @ 2020-10-29 13:24 WP-WangPin
阅读(106)
评论(0)
推荐(0)
编辑