Пример #1
0
        public static MinHeap <T> Heapify(IEnumerable <T> items)
        {
            var heap = new MinHeap <T>();

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