二叉树的z形遍历

public List<List<Integer>> zigzagLevelOrder(TreeNode root) { List<List<Integer>> result = new LinkedList<>(); if (root == null) { return result; } //
posted @ 2021-01-05 10:26  soft.push("zzq")  Views(255)  Comments(0Edit  收藏  举报