2020年7月26日
摘要: 先序遍历:根-->左-->右的形式 public static void preOrderTraveralWithStsck(Node node){ Stack<Node> stack = new Stack(); //当节点的左右孩子全为空并且,栈空表示遍历完毕 while (node != nu 阅读全文
posted @ 2020-07-26 23:24 CccccDi 阅读(288) 评论(0) 推荐(0) 编辑