摘要:
@Test public void shellSort() { int[] array = {7, 3, 2, 9, 15, 1, 14}; for (int increment = array.length / 2; increment 0; increment /= 2) { for (int 阅读全文
摘要:
@Test public void insertSort() { int[] array = {7, 3, 2, 9, 15, 1, 14}; for (int i = 1; i 0; j ) { if (array[j] 阅读全文