摘要: 1、打开电脑中的web项目 2、File->project Structure 3、在project中选择jdk版本和文件输出位置 在运行项目的时候可能会因为jdk版本问题出现错误(直接百度) 文件输出一般选择项目文件夹下的out文件夹,如果没有就创建 4、在Modules中 ​ 选中你的项目模块点 阅读全文
posted @ 2021-09-13 15:57 黯渊 阅读(796) 评论(0) 推荐(0) 编辑
摘要: public static void bubbletSort(int[]arr){ if(arr == null || arr.length < 2)return; int N = arr.length; /* * 0 ~ N - 1 * 0 ~ N - 2 * 0 ~ N - 3 * 0 ~ N 阅读全文
posted @ 2021-09-13 15:11 黯渊 阅读(22) 评论(0) 推荐(1) 编辑
摘要: public static void selectSort(int arr[]){ //先考虑边界条件 if(arr ==null || arr.length < 2)return ; /* * 0 - N-1 * 1 - N-1 * 2 - N-1 * ....... * i - N-1 * */ 阅读全文
posted @ 2021-09-13 15:10 黯渊 阅读(24) 评论(0) 推荐(0) 编辑