摘要: ```python class HeapStructure: def __init__(self, ls): self.ls = ls def shift_up(self, index): 上移使符合堆要求 if index == 0: return ls = self.ls par_index = 阅读全文
posted @ 2019-04-13 13:08 成民 阅读(298) 评论(0) 推荐(0) 编辑