// buildMinHeap builds a min heap.
buildMinHeap builds a min heap.
// buildMinHeap builds a min heap .
func (h *Heap) buildMinHeap() {
	for index := ((h.size / 2) - 1); index >= 0; index-- {
		h.downHeapify(index)
	}
}
func ( h * Heap ) buildMinHeap ( ) { for index := ( ( h . size / 2 ) - 1 ) ; index >= 0 ; index -- { h . downHeapify ( index ) } }
buildMinHeap builds a min heap.
buildMinHeap builds a min heap .