会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小书童
博客园
首页
新随笔
联系
管理
订阅
10 2016 档案
关于mybatis的理解
摘要:http://blog.csdn.net/jiuqiyuliang/article/details/45132493 写的不错很好!
阅读全文
posted @
2016-10-13 21:09
邻家小书童
阅读(1174)
评论(0)
推荐(0)
hadoop的学习
摘要:http://www.aboutyun.com/thread-6179-1-1.html
阅读全文
posted @
2016-10-13 14:58
邻家小书童
阅读(141)
评论(0)
推荐(0)
关于链表头结点 头指针的一个分析
摘要:结构之美:单链表的头结点与头指针
阅读全文
posted @
2016-10-09 08:44
邻家小书童
阅读(153)
评论(0)
推荐(0)
java插入排序
摘要:1 /** 2 * 插入排序 3 * @param a 4 * @date 2016-10-8 5 * @author shaobn 6 */ 7 public static void insertSort(int[] a){ 8 for(int i ...
阅读全文
posted @
2016-10-08 10:21
邻家小书童
阅读(255)
评论(0)
推荐(0)
java选择排序
摘要:1 /** 2 * 选择排序 3 * @param a 4 * @date 2016-10-8 5 * @author shaobn 6 */ 7 public static void selectSort(int[] a){ 8 for(int i ...
阅读全文
posted @
2016-10-08 09:30
邻家小书童
阅读(203)
评论(0)
推荐(0)
java实现冒泡排序
摘要:1 /** 2 * 冒泡排序 3 * @param a 4 * @date 2016-10-8 5 * @author shaobn 6 */ 7 public static void bubbleSort(int[] a){ 8 int temp =...
阅读全文
posted @
2016-10-08 09:20
邻家小书童
阅读(185)
评论(0)
推荐(0)
java实现二分查找
摘要:1 /** 2 * 二分查找 3 * @param a 4 * @param n 5 * @param value 6 * @return 7 * @date 2016-10-8 8 * @author shaobn 9 */ 10 public static int binaryF...
阅读全文
posted @
2016-10-08 08:59
邻家小书童
阅读(287)
评论(0)
推荐(0)
找出A字符串中出现B字符串的起始位置
摘要:1 /** 2 * 找出B出现在A中的起始位置 3 * @param A 4 * @param lenA 5 * @param B 6 * @param lenB 7 * @date 2016-10-7 8 * @author shaobn 9 */ 10 public static int...
阅读全文
posted @
2016-10-07 19:18
邻家小书童
阅读(1363)
评论(0)
推荐(0)
找出数组中从未出现的最小正整数java实现
摘要:1 /** 2 * 找出未出现的最小正整数 3 * @param A 4 * @param n 5 * @date 2016-10-7 6 * @author shaobn 7 */ 8 public static int findArrayMex(int[] a,int n){ 9 int c...
阅读全文
posted @
2016-10-07 19:08
邻家小书童
阅读(2260)
评论(0)
推荐(0)
求相邻元素的最大差值,先按从小到大排序最后比较
摘要:1 /** 2 * 找出相邻元素的最大差值 3 * @param a 4 * @param n 5 * @date 2016-10-7 6 * @author shaobn 7 */ 8 public static void findMaxDivision(int[] a,int n){ 9 i...
阅读全文
posted @
2016-10-07 17:27
邻家小书童
阅读(437)
评论(0)
推荐(0)
折纸问题java实现
摘要:请把纸条竖着放在桌⼦上,然后从纸条的下边向上⽅对折,压出折痕后再展 开。此时有1条折痕,突起的⽅向指向纸条的背⾯,这条折痕叫做“下”折痕 ;突起的⽅向指向纸条正⾯的折痕叫做“上”折痕。如果每次都从下边向上⽅ 对折,对折N次。请从上到下计算出所有折痕的⽅向。
阅读全文
posted @
2016-10-07 16:51
邻家小书童
阅读(899)
评论(0)
推荐(0)
顺时针打印矩阵并返回数组
摘要:/** * 顺时针打印矩阵并返回数组 * @param mat * @param n * @param m * @date 2016-10-7 * @author shaobn */ public static int[] printMatrix(int[][] mat,int n,int m){ Ar...
阅读全文
posted @
2016-10-07 14:35
邻家小书童
阅读(181)
评论(0)
推荐(0)
将n*n矩阵顺时针旋转90度
摘要:1 /** 2 * 将n*n矩阵顺时针旋转90度 3 * @param mat 4 * @param n 矩阵的阶数 5 * @date 2016-10-7 6 * @author shaobn 7 */ 8 public static void rotateMatrix(int[][] mat,int n){ ...
阅读全文
posted @
2016-10-07 14:12
邻家小书童
阅读(2621)
评论(0)
推荐(0)
美团—求数组的最大差值
摘要:1 /** 2 * 求数组的最大差值 3 * @param a 4 * @param n 5 * @return 6 * @date 2016-10-7 7 * @author shaobn 8 */ 9 public static int getDirs(int[] a,int n){ 10 ...
阅读全文
posted @
2016-10-07 13:16
邻家小书童
阅读(185)
评论(0)
推荐(0)
公告