package AC;import java.util.*;public class NC14按之字形顺序打印二叉树 { public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; } public ArrayList<ArrayList<Integer> > Print(TreeNode pRoot) { int status=1;//奇数从左到右,偶数从右到左,每遍历一层,则加一 ArrayLi...