Пример #1
0
 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>();
 }