摘要: 1 //二叉树的先序遍历(非递归) 2 public void PreOrderTraverse() 3 { 4 BiTNode p = this.root; 5 Stack stack = new Stack(10000); 6 7 while(!stack.isEmpty || p != null) 8 if(p != null) 9 ... 阅读全文
posted @ 2019-04-22 00:31 Huayra 阅读(227) 评论(0) 推荐(0)