diff --git a/data_structure/二叉堆详解实现优先级队列.md b/data_structure/二叉堆详解实现优先级队列.md index beed911..033f694 100644 --- a/data_structure/二叉堆详解实现优先级队列.md +++ b/data_structure/二叉堆详解实现优先级队列.md @@ -1,4 +1,4 @@ -# 二叉堆详解实现优先级队列 +# Binary heap detail implements priority queues 二叉堆(Binary Heap)没什么神秘,性质比二叉搜索树 BST 还简单。其主要操作就两个,`sink`(下沉)和 `swim`(上浮),用以维护二叉堆的性质。其主要应用有两个,首先是一种排序方法「堆排序」,第二是一种很有用的数据结构「优先级队列」。