The elements $42, 25, 30, 40, 22, 35, 26$ are inserted one by one in the given order into a max-heap. The resultant max-heap is sorted in an array implementation as
- $<42, 40, 35, 25, 22, 30, 26>$
- $<42, 35, 40, 22, 25, 30, 26>$
- $<42, 40, 35, 25, 22, 26, 30>$
- $<42, 35, 40, 22, 25, 26, 30>$