linw7/Skill-Tree

TOP N 第三题 大根堆

melouver opened this issue · 0 comments

首先,如果大根堆定义为 根是堆中最大的元素,那么如果是找出次数最多的前几项,应该用小根堆。