自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 希尔排序

希尔排序java实现 具体代码实现如下 /** * @author shkstart * @create 2021-03-22 16:43 */ public class ShellSort2 { public static void shellSort(int[] arrays) { //增量每次都/2 for (int step = arrays.length / 2; step > 0; step /= 2) { //从增量

2021-03-22 20:45:12 76

原创 快速排序

快速排序java实现 具体代码实现如下 /** * @author shkstart * @create 2021-03-22 9:55 * 快速排序 */ public class QuickSort2 { public static void quickSort2(int[] arr,int low,int high){ int i,j,temp; if(low>high){ return; }

2021-03-22 20:34:36 55

原创 插入排序

冒泡排序java实现 代码实现如下: /** * @author shkstart * @create 2021-03-22 15:29 * //插入排序 */ public class InsertSort { public static int[] insertSort(int[] ins){ for (int i =1;i< ins.length;i++){ int temp = ins[i];//保存每次需要插入的那个数

2021-03-22 20:31:09 59

原创 冒泡排序

冒泡排序java实现 具体代码实现如下 /** * @author shkstart * @create 2021-03-22 7:02 * 冒泡增排序 */ public class BubbleSort { public static void bubbleSort(int[] arr, int n) { if (n <= 1) return; //如果只有一个元素就不用排序了 for (int i = 0; i < n; ++i

2021-03-22 20:25:58 72

空空如也

空空如也

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

TA关注的人

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