自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 Java利用栈实现二进制和十进制、八进制、十六进制的互相转换

package stack;import java.util.Stack;public class Sequence { int MAX; int len; int[] data; int top; public Sequence(int m) { this.MAX = m; this.data = new int[m]; this.top = -1; this...

2020-02-28 23:19:11 2798

原创 Java实现双向链表

public class TwoWayList<T> { private class Node{ T data; Node next = null; Node prev = null; public Node(T t) { this.data = t; } } private Node head; private int len; publ...

2020-02-27 19:34:18 161

原创 Java用循环链表实现魔术师发牌问题和拉丁方阵

public class Test { private class Node{ Node next = null; int data; public Node(int t) { this.data = t; } } private Node head; private int len; public Test() { this.head = new Node(...

2020-02-27 16:24:06 234

原创 Java实现循环链表,约瑟夫环,判断链表有无环等问题

Java实现静态链表点击进入Java实现单向单链表点击进入一 循环链表首先用Java实现循环链表及其增删改查等操作:public class CircularList<T>{ private class Node{ Node next = null; T data; public Node(T t) { this.data = t; } } pri...

2020-02-26 22:58:21 206

原创 Java实现单向单链表

Java实现静态链表点击进入public class SingleList<T> { //头节点,不保存数据 private Node head; private int len; private class Node { Node next = null; T data; public Node(T t) { this.data = t; } } ...

2020-02-25 22:01:10 172

原创 Java实现静态链表

public class StaticList { //输入字符串创建一个静态链表 int MAX = 20; int[] next = new int[MAX]; char[] data = new char[MAX]; int l; //链表初始化 public StaticList(String str) { this.l = str.length(); char[]...

2020-02-25 13:55:31 454

原创 Liunx ssh scp远程连接

SSH格式 ssh -p 端口 用户名@ip地址例如: ssh -p 8080 root@192.168.1.1SCP格式scp -P 端口 源主机目录 目标主机目录例如Windows向Liunx传输文件:scp -P 8080 C:\Users\code\test.txt root@192.168.1.1:/data/code/...

2020-02-22 20:09:02 174

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除