该如何设计一种数据结构,使删除数据中的最大最小值所用时间复杂度最小
时间复杂度的排序是O(1) < O(logn) < O(n) < O(nlogn) < O(n^2) < O(2^n) < O(n!) < O(n^n)。
链表,删除操作时间复杂度是O(1)