题目描述 分别按照二叉树先序,中序和后序打印所有的节点。 示例1 输入 {1,2,3} 返回值 [[1,2,3],[2,1,3],[2,3,1]] 解题思路:递归实现遍历。 public class Solution { /** * * @param root TreeNode类 the root of binary tree * @return int整型二维数组 */ public int[][] threeOrders (TreeNode root) {