Beispiel #1
0
        public static MaxHeap <T> Heapify(IEnumerable <T> items)
        {
            var heap = new MaxHeap <T>();

            return(heap.BulkInsert(items) as MaxHeap <T>);
        }