摘要: 1 public class HeapSort { 2 public static void main(String[] args) { 3 int[] a = new int[]{6, 2, 8, 3, 5, 1, 8, 6, 54, 64, -1, 2, 4, 4, 67}; 4 heapSort(a); 5 System.out.println(); 6 } 7 8 static void 阅读全文
posted @ 2019-09-26 09:37 dodoBehind 阅读(147) 评论(0) 推荐(0) 编辑