示例#1
0
 public static void main(String[] args) {
   System.out.println(Arrays.toString(sort));
   buildMaxHeap(sort);
   System.out.println(Arrays.toString(sort));
   heapSort(sort);
   System.out.println(Arrays.toString(sort));
 }