Node

Words
45
Reading
1 min
Listen
Play
2y

class Node {

public final char value;

public Node left;

public Node right;

public Node(char value) {

    this(value, null, null);

}

/\*\* For testing. \*/

Node(char value, Node left, Node right) {

    this.value = value;

    this.left = left;

    this.right = right;

}

}

Node | Ecency