非递归算法Java语言版 import java.util.*; /* public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; } */ public class Solution { /** * * @param root TreeNode类 the root of binary tree * @return int整型二维数组 */ ArrayList<Integer> list1=new ArrayList<Integer>(); ArrayList&l...