摘要: 留着备用。 “first-in largest-out”最大优先队列: 便于copy版最大优先队列: class PriorityQueue { constructor() { this.A = []; Heap.buildMaxHeap(this.A); } isEmpty() { return 阅读全文
posted @ 2018-10-14 15:17 xkfx 阅读(224) 评论(0) 推荐(0)