2.直观打印二叉树

【2.直观打印二叉树】首先,Node.java文件同上
然后打印:

public class printTree {public String getSpace(int num) { String space = " "; StringBuffer buf = new StringBuffer(""); for(int i=0; i

    推荐阅读