// newHeap creates a heap.
newHeap creates a heap.
// newHeap creates a heap .
func newHeap(maxsize int) *Heap {
	return &Heap{
		values:  []int{},
		size:    0,
		maxsize: maxsize,
	}
}
func newHeap ( maxsize int ) * Heap { return & Heap { values : [ ] int { } , size : 0 , maxsize : maxsize , } }
newHeap creates a heap.
newHeap creates a heap .