import java.util.*; class Main{
public static void main(String[] args) { TreeNode tree1 = new TreeNode( val: 5); tree1.left = new TreeNode( val: 3);