描述: ------------------------------------------------------- 前序遍历: Given a binary tree, return the preorder traversal of its nodes' values. 给出一棵二叉树,返回其节点值的前序遍历. 样例 给出一棵二叉树 {1,#,2,3}, 1 \ 2 / 3 返回 [1,2,3]. ----------------------------------------------…