摘要: class MaxHeap(object): # def __init__(self): # self.data = [] # 创建堆 # self.count = len(self.data) # 元素数量 def __init__(self, arr): self.data = copy.copy(arr) sel... 阅读全文
posted @ 2018-05-16 15:49 Erick-LONG 阅读(172) 评论(0) 推荐(0) 编辑