<reponame>drinkagain/leecode
package com.jiuxian.leetcode.util;

/**
 * @author: liuzejun
 * *
 * @email: <EMAIL>
 * *
 * @date: 2019-07-18 09:55:45
 * *
 * @comment:
 */
public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode(int x) {
        val = x;
    }

    @Override
    public String toString() {
        return "TreeNode{" +
                "val=" + val +
                ", left=" + left +
                ", right=" + right +
                '}';
    }
}
