leetcode 655. 输出二叉树 【时间击败100.00%】 【内存击败96.49%】

1 public List<List<String>> printTree(TreeNode root) { 2 ArrayList<List<String>> al = new ArrayList<>(); 3 if (root == null) return al; 4 if (root.left == null && root.righ
相关文章
相关标签/搜索