摘要:
import random def generate_big_root_heap(li,low,hight): i = low j = 2 * i + 1 tmp = li[i] while j <= hight: if j + 1 <= hight and li[j+1] > li[j]: j = 阅读全文
posted @ 2021-11-20 13:38
NAVYSUMMER
阅读(62)
评论(0)
推荐(0)
摘要:
import random def generate_big_root_heap(li,low,hight): i = low j = 2 * i + 1 tmp = li[i] while j <= hight: if j + 1 <= hight and li[j+1] > li[j]: j = 阅读全文
posted @ 2021-11-20 12:02
NAVYSUMMER
阅读(61)
评论(0)
推荐(0)