/*功能:用Java语言实现直接插入排序 *直接插入排序是稳定的。算法时间复杂度是O(n ^2) *Date:2007-11-16 *Author:kemwin */ public class InsertSort { public void sort(int[] data){ //定义参数为数组首地址 int i,j,temp; for(i...