Created
July 13, 2019 09:22
-
-
Save parvezmrobin/f65ecb2aed5005ebc7ba6f5fdce617ce to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // 9, 12, 14, 17, 19, 23, 50, 72, 54, 67, 76 | |
| const nine = {value: 9, left: null, right: null}; | |
| const fourteen = {value: 14, left: null, right: null}; | |
| const twelve = {value: 12, left: nine, right: fourteen}; | |
| const nineteen = {value: 19, left: null, right: null}; | |
| const twentythree = {value: 23, left: nineteen, right: null}; | |
| const seventeen = {value: 17, left: twelve, right: nineteen}; | |
| const sixtyseven = {value: 67, left: null, right: null}; | |
| const fiftyfour = {value: 54, left: null, right: sixtyseven}; | |
| const seventysix = {value: 76, left: null, right: null}; | |
| const seventytwo = {value: 72, left: fiftyfour, right: seventysix}; | |
| const fifty = {value: 9, left: seventeen, right: seventytwo}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment