摘要: 冒泡排序:冒泡排序的思想就是使用相邻的2个元素挨个比较一次,符合条件交换位置 public static void bubbleSort(int[] arr){ //把最大值放在首位置。 for(int j = 0; j<arr.length-1; j++){ // 控制的是轮数。 for(int 阅读全文
posted @ 2021-09-21 22:06 青玄吖 阅读(30) 评论(0) 推荐(0)
浏览器标题切换
浏览器标题切换end