ban demo chua cmt - To change this license header choose License Headers in Project Properties To change this template file choose Tools |

ban demo chua cmt - To change this license header...

This preview shows page 1 - 2 out of 2 pages.

/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package shellsort; /** * * @author quoch */ public class Shellsort { /** * @param args the command line arguments */ public static void shellsort(int []a){// ham sap xep chen int temp; int gap = a.length/2; while(gap >0){ for(int i = gap; i<a.length;i++){ temp = a[i]; int pre= i - gap;

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture