算法分析——优先队列

public class PriorityQueue { // 最小堆 public PriorityQueue(int max) { this.heap = new int[max + 2]; this.max = max + 1; } // 维护的堆数据 private int[] heap;
相关文章
相关标签/搜索