数据结构 - 二叉树(前序中序后序查找)

public static int i = 1, j = 1, k =1; //编写前序查找方法 public HeroNode preOrderSearch(int no){ System.out.println("前序遍历"+(i++)+"次"); if (this.no == no){ return this;
相关文章
相关标签/搜索