heaps example unite the binomial heaps given below solution head [ head [ figure (aafter merge_binomial-heap()the resultant heap can be given as followshead [hptr next (step figure (blink next to ptrmaking ptr the parent of the node pointed by next head [hptr next (step figure (cnow ptr is the first of the three roots of equal degreethat isdegree[ptrdegree[nextdegree[sibling[next]thereforemove the pointers one position further down the list by writing prev ptrptr nextand next sibling[ptrhead [hprev ptr next (step figure (