• Merges two binomial heaps into a single binomial heap consisting of the union of their elements

    Parameters

    Returns BinomialHeap<any>

    a new binomial heap that is the result of merging the two heaps.