摘要: https://www.jianshu.com/p/5a6f3dacfc5e https://yq.aliyun.com/articles/653226 https://yq.aliyun.com/articles/221687 阅读全文
posted @ 2019-08-20 23:22 胡叔叔 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 指令码 助记符 说明 0x00 nop 什么都不做 0x01 aconst_null 将null推送至栈顶 0x02 iconst_m1 将int型-1推送至栈顶 0x03 iconst_0 将int型0推送至栈顶 0x04 iconst_1 将int型1推送至栈顶 0x05 iconst_2 将i 阅读全文
posted @ 2019-08-01 11:50 胡叔叔 阅读(892) 评论(0) 推荐(0) 编辑
摘要: package org.demo.linkedList; /** * * 问题可用单链表循环解决 * 问题:N个人围成一圈,从第一个开始报数,第M个将被杀掉,最后剩下一个,其余人都将被杀掉 * */ public class Josefu { public static void main(String[] args) { // TODO Auto-ge... 阅读全文
posted @ 2019-07-09 23:38 胡叔叔 阅读(244) 评论(0) 推荐(0) 编辑
摘要: package sort; /* * 快排: * 1,以数组中的一个数为坐标点,比坐标点大的数放在右边,小的放在坐标。 * 2,不断递归1,直到不能递归。 */ public class QuickSort { public static void main(String[] args) { int[] arr = {5,6,4,1,7,3,2,9}; QuickSort ... 阅读全文
posted @ 2019-07-09 16:21 胡叔叔 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 数据结构为 判断队列是否已经满了 判断队列是否为空 向队列添加数据 从队列取出数据 队列里面数据个数public int size() { 显示队列 阅读全文
posted @ 2019-06-28 17:33 胡叔叔 阅读(1780) 评论(0) 推荐(0) 编辑
摘要: 主要方法 阅读全文
posted @ 2018-11-15 00:30 胡叔叔 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 去oracle官网下载jar包 然后在jar包所在目录输入maven命令 mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.1.0 -Dpackaging=jar -Dfile=ojd 阅读全文
posted @ 2018-10-28 20:49 胡叔叔 阅读(1291) 评论(0) 推荐(0) 编辑
摘要: 构造方法 append方法 如果string的长度大于capacity的增String会自动增加容量 以下情况,容器容量需要扩展 2.当capacity<str<2*capacity+2时,值为 2*capacity+2 3.当string>2*capacity+2时,值为string 阅读全文
posted @ 2018-10-19 15:30 胡叔叔 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 引入的文件 首先创建一个div javascript代码 后台代码 阅读全文
posted @ 2018-10-18 00:10 胡叔叔 阅读(1461) 评论(0) 推荐(0) 编辑
摘要: package org.unclehu; import sun.security.util.Length; /** * 求最长公共子序列 */ import java.util.Scanner; public class LCS { public static void main(String args[]){ Scanner scanner = new Sca... 阅读全文
posted @ 2018-09-27 23:59 胡叔叔 阅读(129) 评论(0) 推荐(0) 编辑