![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
huyeeeee
这个作者很懒,什么都没留下…
展开
-
java 队列 数据结构
package dataStructure.BinaryTree;public class MyQueue <T>{ private static class queueNode<T>{ //队列结点 private T data; private queueNode<T> next; queueNode(T data){ thi...原创 2019-11-15 21:15:20 · 92 阅读 · 0 评论 -
Stack 栈 java实现
package dataStructure.Stack;public class Stack<T> { private static class stackNode<T>{ //栈结点元素 private T data; private stackNode<T> next; stackNode(T data){ this.data...原创 2019-11-15 20:47:10 · 143 阅读 · 0 评论 -
java 单链表的增查删插
public class LinkedList<T> { private static class LNode<T>{ private T data; private LNode<T> next; LNode(T data){ this.data = data; this.next = null; } } private ...原创 2019-11-14 11:55:43 · 99 阅读 · 0 评论 -
二叉树的简单实现 Java
首先,创建树结点类TreeNode.javapublic class TreeNode <T>{ private T data; private TreeNode<T> left; private TreeNode<T> right; private TreeNode<T> father; public TreeNode(T dat...原创 2019-11-12 15:49:11 · 88 阅读 · 0 评论