摘要:
class Queue { constructor() { this.count = 0; this.lowestCount = 0; this.items = {}; } enqueue(element) { this.items[this.count] = element; this.count 阅读全文
posted @ 2020-10-27 22:19
WP-WangPin
阅读(118)
评论(0)
推荐(0)
摘要:
class Stack { constructor() { this.count = 0; this.items = {}; } push(element) { this.items[this.count] = element; this.count++; } pop() { if (this.is 阅读全文
posted @ 2020-10-27 16:43
WP-WangPin
阅读(97)
评论(0)
推荐(0)

浙公网安备 33010602011771号