Created
February 10, 2018 18:37
-
-
Save tarlanahad/3c135a75f359a461ebdf38d63484e9a5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private Node LeftRotate(Node grandParentNode) { | |
Node temp = grandParentNode.Right; | |
grandParentNode.Right = temp.Left; | |
temp.Left = grandParentNode; | |
return temp; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment