堆排序(golang实现)

imroc ·
这是个错误的排序 当s := []int{5, 9, 2, 8, 3, 7, 4, 6, 1} 你会发现是如此
#1