OSDN Git Service
(root)
/
oi-wiki
/
main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad8c8fc
)
getmin to getmax
author
sshwy
<jy.cat@qq.com>
Sat, 13 Jul 2019 09:12:26 +0000
(17:12 +0800)
committer
sshwy
<jy.cat@qq.com>
Sat, 13 Jul 2019 09:12:26 +0000
(17:12 +0800)
docs/ds/binary-heap.md
patch
|
blob
|
history
diff --git
a/docs/ds/binary-heap.md
b/docs/ds/binary-heap.md
index
fb09e72
..
ea7c9aa
100644
(file)
--- a/
docs/ds/binary-heap.md
+++ b/
docs/ds/binary-heap.md
@@
-4,7
+4,7
@@
堆性质:父亲的权值不小于儿子的权值(大根堆)。同样的,我们可以定义小根堆。本文以大根堆为例。
-由堆性质,树根存的是最大值(getm
in
操作就解决了)。
+由堆性质,树根存的是最大值(getm
ax
操作就解决了)。
### 插入操作