Constructor : Builds a heap from a given array a [ ] of given size
public MinHeap ( int a [ ] , int size ) { heap_size = size ; capacity = size ; harr = a ; int i = ( heap_size - 1 ) / 2 ; while ( i >= 0 ) { MinHeapify ( i ) ; i -- ; } }