OSDN Git Service

fix: 缩进
authorMargatroid <i@margatroid.xyz>
Wed, 14 Aug 2019 11:42:47 +0000 (19:42 +0800)
committerGitHub <noreply@github.com>
Wed, 14 Aug 2019 11:42:47 +0000 (19:42 +0800)
docs/ds/avl.md

index f5016bc..bd8b5d1 100644 (file)
@@ -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)