![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
无良的奋斗少年
这个作者很懒,什么都没留下…
展开
-
数据结构-链表(java实现)
/** * 链表节点定义 * */ private class Node { private Object data; private Node next; public Node getNext() { return next; } public void setNext(Node next) { this.next = next; ...原创 2018-09-16 14:18:00 · 120 阅读 · 0 评论 -
数据结构(栈与队列) java实现
栈的相关定义 package StackDef; import java.util.Arrays; import java.util.EmptyStackException; /** * 通过数组模拟栈 * @author tian * */ public class ArrayStack { private Object[] elementData; private int...原创 2018-09-16 17:41:57 · 158 阅读 · 0 评论