Heap
Class Heap is a utility for storing up to N items of type T. This class allows adding an item or extracting the best item. Supported operations are accomplished at O(log(n)), where n is the current number of items in the heap.
Class Heap is a utility for storing up to N items of type T. This class allows adding an item or extracting the best item. Supported operations are accomplished at O(log(n)), where n is the current number of items in the heap.