• Inserts the value aValue inside the heap aHeapI Note that aHeapI is modified by this function.

    Parameters

    • aHeapI: HeapI<any>

      the heap in which we insert

    • aValue: any

      the value that is inserted

    Returns void