heap.c
bool isInMinHeap(struct MinHeap *minHeap, int v)
{
    if (minHeap->pos[v] < minHeap->size)
        return true;
    return false;
}
// A utility function to check if a given vertex
// 'v' is in min heap or not
A utility function to check if a given vertex
'v' is in min heap or not
A utility function to check if a given vertex ' v ' is in min heap or not
bool isInMinHeap(struct MinHeap *minHeap, int v)
{
    if (minHeap->pos[v] < minHeap->size)
        return true;
    return false;
}
bool isInMinHeap ( struct MinHeap * minHeap , int v ) { if ( minHeap -> pos [ v ] < minHeap -> size ) return true ; return false ; }
A utility function to check if a given vertex
'v' is in min heap or not
A utility function to check if a given vertex ' v ' is in min heap or not