OSDN Git Service

getmin to getmax
authorsshwy <jy.cat@qq.com>
Sat, 13 Jul 2019 09:12:26 +0000 (17:12 +0800)
committersshwy <jy.cat@qq.com>
Sat, 13 Jul 2019 09:12:26 +0000 (17:12 +0800)
docs/ds/binary-heap.md

index fb09e72..ea7c9aa 100644 (file)
@@ -4,7 +4,7 @@
 
 堆性质:父亲的权值不小于儿子的权值(大根堆)。同样的,我们可以定义小根堆。本文以大根堆为例。
 
-由堆性质,树根存的是最大值(getmin 操作就解决了)。
+由堆性质,树根存的是最大值(getmax 操作就解决了)。
 
 ### 插入操作