![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java 数据结构 树
烽火戏猪候
每天随便写一点吧。语文不好,不拘泥于文笔o(╯□╰)o
展开
-
二叉树的实现
package com.test.Tree; public class ArrayBinTrees { //用数组保存节点 private Object[] datas; private int DEFAULT_SIZE=8; //保存树的深度 private int deep; private int arraySize; //以默认形式 保存二叉树 public ArrayB转载 2016-03-15 09:42:40 · 236 阅读 · 0 评论 -
Sequence_Stack
public class Sequence_Stack { /** * @author user * @param args */ //数组默认长度 private int DEFAULT_SIZE = 10; private int capacity;//定义数组容量 private int size;//大小 private T element;//元素 priva转载 2016-10-11 13:17:12 · 324 阅读 · 0 评论