Question DSA-HEAP-0065
HardInserting into a max-heap [90, 70, 80, 30, 60, 50] the value 85: what is the resulting array?
- A.
[90, 70, 85, 30, 60, 50, 80]
- B.
[85, 70, 90, 30, 60, 50, 80]
- C.
Sign up free to see the answer and a step-by-step explanation.