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:
644be38
)
fix: 缩进
author
Margatroid
<i@margatroid.xyz>
Wed, 14 Aug 2019 11:42:47 +0000
(19:42 +0800)
committer
GitHub
<noreply@github.com>
Wed, 14 Aug 2019 11:42:47 +0000
(19:42 +0800)
docs/ds/avl.md
patch
|
blob
|
history
diff --git
a/docs/ds/avl.md
b/docs/ds/avl.md
index
f5016bc
..
bd8b5d1
100644
(file)
--- a/
docs/ds/avl.md
+++ b/
docs/ds/avl.md
@@
-91,7
+91,7
@@
$$
Maintain-Balanced(p)
if h[ls[p]] - h[rs[p]] == 2
if h[ls[ls[p]]] >= h[rs[ls[p]]]
-
Right-Rotate(p)
+ Right-Rotate(p)
else
Left-Rotate(ls[p])
Right-Rotate(p)