摘要:
1. 折半查找算法 //折半查找算法 public static int zhebanSearch(int a[],int n, int x){ int low,high,mid; low=0; high=n-1; while(lo... 阅读全文
posted @ 2015-05-07 17:07
~风轻云淡~
阅读(1309)
评论(0)
推荐(0)
摘要:
package com.cn.gao;import java.util.Scanner;//对字符串进行快速排序public class CharsQuickSort { public static final int SIZE=100; //可以输入的最大字符数 //快速排序的一次划... 阅读全文
posted @ 2015-05-07 15:57
~风轻云淡~
阅读(3926)
评论(1)
推荐(0)
摘要:
package com.cn.gao; //字符串数组排序的快速排序实现 public class CharQuickSort {//快速排序的一次划分 public static int charPartition(String a[], int left, int right){ int l,r; String temp; l=left... 阅读全文
posted @ 2015-05-07 15:41
~风轻云淡~
阅读(8643)
评论(3)
推荐(0)
摘要:
package com.cn.gao;//插入排序反序排序public class InsertionSort { public static final int SIZE=10; //插入排序反序排序算法 public static void insertionSort(int ... 阅读全文
posted @ 2015-05-07 08:21
~风轻云淡~
阅读(575)
评论(0)
推荐(0)
浙公网安备 33010602011771号