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:
f08807f
)
Update docs/ds/pairing-heap.md
author
XXunn
<48951723+XXunn@users.noreply.github.com>
Tue, 20 Oct 2020 00:23:13 +0000
(19:23 -0500)
committer
GitHub
<noreply@github.com>
Tue, 20 Oct 2020 00:23:13 +0000
(19:23 -0500)
Co-authored-by: Nano <nanoapezlk@gmail.com>
docs/ds/pairing-heap.md
patch
|
blob
|
history
diff --git
a/docs/ds/pairing-heap.md
b/docs/ds/pairing-heap.md
index
c814586
..
5608c8a
100644
(file)
--- a/
docs/ds/pairing-heap.md
+++ b/
docs/ds/pairing-heap.md
@@
-88,9
+88,7
@@
Node* delete_min(Node* x) { return merges(x->ch); }
#### 减小一个元素的值
-要实现这个操作,需要给节点添加一个 father 指针,会使实现变得相对复杂。
-
-其中 father 指针指向前一个节点而非树形结构的父节点
+要实现这个操作,需要给节点添加一个 father 指针,其指向前一个节点而非树形结构的父节点。
首先节点的定义修改为: