package
0.0.0-20200223121827-10ffd4c65076
Repository: https://github.com/aquayi/go-notes.git
Documentation: pkg.go.dev

# README

堆排序

  1. 把序列进行堆序列化,使得最大的元素处于列首。
  2. 尾首元素互换位置,即最大的元素被放在了末尾。
  3. 对前n-1个元素,重新堆有序化。

# Functions

Sort 使用堆排序.

# Interfaces

Interface 是排序的接口.