public KthLargest()
 {
     Heap = new MinHeap <T>();
 }
示例#2
0
 public MedianFinder()
 {
     largerElementMinHeap = new MinHeap <int>();
     smallerElemenMaxHeap = new MaxHeap <int>();
 }
示例#3
0
 public KwayMerge()
 {
     Heap = new MinHeap <ListNode>();
 }