auto commit
This commit is contained in:
@ -602,6 +602,7 @@ public Node rotateLeft(Node h) {
|
||||
public Node rotateRight(Node h) {
|
||||
Node x = h.left;
|
||||
h.left = x.right;
|
||||
x.right = h;
|
||||
x.color = h.color;
|
||||
h.color = RED;
|
||||
x.N = h.N;
|
||||
|
Reference in New Issue
Block a user