容易理解的递归创建方式 import java.util.Scanner; class TreeNode1{ public char val; public TreeNode1 left; public TreeNode1 right; public TreeNode1(char val) { this.val = val; } } public class Main { public static int i = 0; public static TreeNode1 createTree(String str...