摘要:
抽取公共代码 public abstract class MyQueue<E> { int size; public abstract boolean enqueue(E t); public abstract E dequeue(); public boolean isEmpty() { retu 阅读全文
posted @ 2021-04-20 21:54
bakanano
阅读(95)
评论(0)
推荐(0)
摘要:
堆排序 public class HeapSort { public static void main(String[] args) { int[] arr = {1, 3, 519, 2, 10, 8, 0, 998}; heapSort(arr); System.out.println(Arra 阅读全文
posted @ 2021-04-20 00:15
bakanano
阅读(98)
评论(0)
推荐(0)