Created
May 14, 2017 18:55
-
-
Save lironsade/fe45802b156e377ab9e81e374b3e6be8 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
void setLeft(Node left) { | |
this.left = left; | |
if (left != null) { | |
this.left.setDad(this); | |
this.leftHeight = left.getHeight(); | |
} else { | |
this.leftHeight = -1; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment