package dtprogrammer.github.io.common;

/**
 * Leetcode TreeNode class for testing and dedbugging
 */
public class TreeNode {
    public final int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode(int val) {
        this.val = val;
    }
}

Add TreeNode class